[media] hdpvr: remove hdpvr_fh and just use v4l2_fh
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 6 Apr 2013 09:00:17 +0000 (06:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Apr 2013 22:57:32 +0000 (19:57 -0300)
commitede197aac0c64021a0b2139d19edd8fa066530c2
tree2865f3550473c1fe42c4bb462de21e575166fc7d
parent99c77aa4281c41fab255a4eb25ccc36a8c2e113d
[media] hdpvr: remove hdpvr_fh and just use v4l2_fh

This prepares the driver for priority and control event handling.
This patch also checks for correct streaming ownership and it makes a
small improvement to the encoder_cmd ioctls: always zero 'flags' and
drop the memset of 'raw' as that is already done by the v4l2 core.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/hdpvr/hdpvr-video.c
drivers/media/usb/hdpvr/hdpvr.h