[media] ivtv: DECODER_CMD v4l2-compliance fixes
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 5 Sep 2012 11:39:48 +0000 (08:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Oct 2012 20:13:32 +0000 (17:13 -0300)
commit1a806401656129e5fed10da24973e59e9f1d2e88
treec2225570ee174f87a98c37f23f08e8b8e4f8ecf4
parent30634e8e41d413b0084ba29f843361a1fd9fbdce
[media] ivtv: DECODER_CMD v4l2-compliance fixes

VIDIOC_DECODER_CMD didn't return EPERM when calling PAUSE or RESUME if no
decoding is in progress.
VIDIOC_G_ENC_INDEX didn't set entries_cap or return 0 if no decoding was
in progress.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/ivtv/ivtv-ioctl.c