media: bttv: radio use v4l2_fh instead of bttv_fh
authorDeborah Brouwer <deborah.brouwer@collabora.com>
Sat, 15 Jul 2023 02:15:59 +0000 (19:15 -0700)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 14 Aug 2023 18:27:59 +0000 (20:27 +0200)
commit45b6f5bf1a0160e52716dd85b478e4c3e06faffc
tree080904eb4204f1dae54172f4f66757f9644c5cd1
parent615c5450278ac9b8e7bd09bac265bc33808b5fc1
media: bttv: radio use v4l2_fh instead of bttv_fh

Use a v4l2_fh when opening a radio device instead of a bttv_fh and manage
it with v4l2_fh_open() and v4l2_fh_release() and v4l2_ctrl_poll(). This
eliminates bttv_fh from the radio in preparation for vb2 conversion which
stops using separate bttv file handles altogether.

Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/pci/bt8xx/bttv-driver.c