]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: remove obsolete device state checks from the ioctl functions
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Thu, 7 Feb 2013 16:39:18 +0000 (13:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 4 Mar 2013 17:21:10 +0000 (14:21 -0300)
commit9e4148354bbcc3fc22bcc3b74f481aacb96aa130
treee9f10a2db757c2dd73c789c8d5c36762ae93d5c7
parent47d1618b32a8508393b9993438d1dcc57ca99222
[media] em28xx: remove obsolete device state checks from the ioctl functions

v4l2_device_disconnect() is called when the device is disconnected, so that the
v4l2-core rejects all ioctl calls.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-video.c