From: Shuah Khan Date: Fri, 11 Jul 2014 21:25:55 +0000 (-0300) Subject: [media] media: em28xx - fix i2c_xfer to return -ENODEV when dev is removed X-Git-Tag: cleanup-for-v3.18~114^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc5c5d20c3cb9066576043b937b35d6b669a52e0;p=pandora-kernel.git [media] media: em28xx - fix i2c_xfer to return -ENODEV when dev is removed In em28xx usb disconnect code path, some dvb fe and tuner drivers attempt i2c transfers from their release interfaces. When device is removed, return -ENODEV instead of attempting to transfer data over i2c. Signed-off-by: Shuah Khan Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed