diff options
author | Shuah Khan <shuah.kh@samsung.com> | 2014-07-11 18:25:55 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-26 11:15:17 -0300 |
commit | cc5c5d20c3cb9066576043b937b35d6b669a52e0 (patch) | |
tree | 5807d86fa82fe1a1c2af871d7b1094486aad5157 /drivers/media/dvb-core/dvb_frontend.h | |
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>
Diffstat (limited to 'drivers/media/dvb-core/dvb_frontend.h')
0 files changed, 0 insertions, 0 deletions