diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-10 12:48:50 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-11 01:35:31 +0100 |
commit | 990862a2f024296f27460306393de8f0cdab8997 (patch) | |
tree | e8bc467d130a57dd03428010db57794b49f0b964 /drivers/media/common | |
parent | [media] cx231xx: cx231xx_devused is racy (diff) | |
download | linux-990862a2f024296f27460306393de8f0cdab8997.tar.xz linux-990862a2f024296f27460306393de8f0cdab8997.zip |
[media] cx231xx: fix device disconnect checks
The driver were using DEV_MISCONFIGURED on some places, and
DEV_DISCONNECTED on others. In a matter of fact, DEV_MISCONFIGURED
were set only during the usb disconnect callback, with
was confusing.
Also, the alsa driver never checks if the device is present,
before doing some dangerous things.
Remove DEV_MISCONFIGURED, replacing it by DEV_DISCONNECTED.
Also, fixes the other usecases for DEV_DISCONNECTED.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
0 files changed, 0 insertions, 0 deletions