[media] em28xx: fill in readbuffers and fix incorrect return code
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 7 Sep 2012 09:16:03 +0000 (06:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Jan 2013 02:52:36 +0000 (00:52 -0200)
commit86ff7f1d4be99080d740fd88495154717cd39e2b
tree465c8fdedf0565a81a91af0205a7ae70274564a3
parent50fdf40f696106e0e3c9fa0ee2f6f1457209e81e
[media] em28xx: fill in readbuffers and fix incorrect return code

g/s_parm should fill in readbuffers.
For non-webcams s_parm should return -ENOTTY instead of -EINVAL.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-video.c