diff options
| -rw-r--r-- | drivers/media/usb/au0828/au0828-video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/au0828/au0828-video.c b/drivers/media/usb/au0828/au0828-video.c index 13f6dab9ccc2..88dcc6e0e178 100644 --- a/drivers/media/usb/au0828/au0828-video.c +++ b/drivers/media/usb/au0828/au0828-video.c | |||
| @@ -1075,7 +1075,7 @@ static int au0828_v4l2_close(struct file *filp) | |||
| 1075 | del_timer_sync(&dev->vbi_timeout); | 1075 | del_timer_sync(&dev->vbi_timeout); |
| 1076 | } | 1076 | } |
| 1077 | 1077 | ||
| 1078 | if (dev->dev_state == DEV_DISCONNECTED) | 1078 | if (dev->dev_state & DEV_DISCONNECTED) |
| 1079 | goto end; | 1079 | goto end; |
| 1080 | 1080 | ||
| 1081 | if (dev->users == 1) { | 1081 | if (dev->users == 1) { |
