[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)
commiteb17cee275ac5d0bcd31ed2d205051088140ce49
treee9f10a2db757c2dd73c789c8d5c36762ae93d5c7
parent7a92de6a4c0c99c97df3f016860fe9597d4284b9
[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