diff options
author | Chris Rankin <rankincj@yahoo.com> | 2011-08-20 21:01:26 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-04 01:50:22 +0200 |
commit | 0b8bd83cf393832f1d00096b866d888b75b374c3 (patch) | |
tree | 86b8f92a7fa4c6ee0b71b496859e3a7a319a1794 /drivers/media/video/mxb.c | |
parent | [media] em28xx: move printk lines outside mutex lock (diff) | |
download | linux-0b8bd83cf393832f1d00096b866d888b75b374c3.tar.xz linux-0b8bd83cf393832f1d00096b866d888b75b374c3.zip |
[media] em28xx: don't sleep on disconnect
The DVB framework will try to power-down an adapter that no-one is using
any more, but this assumes that the adapter is still connected to the
machine. That's not always true for a USB adapter, so disable the sleep
operations when the adapter has been physically unplugged.
This prevents I2C write failures with error -19 from appearing
occasionally in the dmesg log.
Signed-off-by: Chris Rankin <rankincj@yahoo.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/mxb.c')
0 files changed, 0 insertions, 0 deletions