[media] cx25821: replace resource management functions with fh ownership
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 14 Apr 2013 14:56:39 +0000 (11:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Apr 2013 21:07:13 +0000 (18:07 -0300)
commit84293f0843931b13d8331093bafacd1d70dd5efb
tree5cc43ab7d463a478578c4ed89933013bb4a02247
parent2efe2cc4305ad9a8ea4db5881808c4db1c451091
[media] cx25821: replace resource management functions with fh ownership

Just remember which filehandle is streaming instead of using complicated
resource masks.
After this patch we can replace cx25821_fh with v4l2_fh.

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