commit | cc5c5d20c3cb9066576043b937b35d6b669a52e0 | [log] [tgz] |
---|---|---|
author | Shuah Khan <shuah.kh@samsung.com> | Fri Jul 11 18:25:55 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Sat Jul 26 11:15:17 2014 -0300 |
tree | 5807d86fa82fe1a1c2af871d7b1094486aad5157 | |
parent | b89193e0b06f44f48e3bf897a5b5cb4a7aff3359 [diff] |
[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 <shuah.kh@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>