Commit 45b6f5b
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>1 parent 615c545 commit 45b6f5b
1 file changed
Lines changed: 10 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2740 | 2740 | | |
2741 | 2741 | | |
2742 | 2742 | | |
2743 | | - | |
| 2743 | + | |
2744 | 2744 | | |
2745 | | - | |
| 2745 | + | |
| 2746 | + | |
2746 | 2747 | | |
| 2748 | + | |
2747 | 2749 | | |
2748 | 2750 | | |
2749 | | - | |
2750 | | - | |
2751 | | - | |
2752 | | - | |
2753 | | - | |
2754 | | - | |
2755 | | - | |
2756 | | - | |
2757 | 2751 | | |
2758 | 2752 | | |
2759 | 2753 | | |
2760 | | - | |
2761 | | - | |
2762 | 2754 | | |
2763 | 2755 | | |
2764 | 2756 | | |
2765 | 2757 | | |
2766 | 2758 | | |
2767 | | - | |
2768 | 2759 | | |
2769 | 2760 | | |
2770 | 2761 | | |
2771 | | - | |
2772 | | - | |
2773 | | - | |
2774 | | - | |
2775 | | - | |
2776 | 2762 | | |
2777 | 2763 | | |
2778 | 2764 | | |
2779 | 2765 | | |
2780 | 2766 | | |
2781 | 2767 | | |
| 2768 | + | |
| 2769 | + | |
| 2770 | + | |
2782 | 2771 | | |
2783 | 2772 | | |
2784 | 2773 | | |
| |||
2858 | 2847 | | |
2859 | 2848 | | |
2860 | 2849 | | |
2861 | | - | |
2862 | 2850 | | |
2863 | | - | |
2864 | 2851 | | |
2865 | | - | |
| 2852 | + | |
2866 | 2853 | | |
2867 | | - | |
2868 | | - | |
2869 | | - | |
2870 | | - | |
2871 | 2854 | | |
2872 | 2855 | | |
2873 | 2856 | | |
2874 | | - | |
| 2857 | + | |
2875 | 2858 | | |
2876 | 2859 | | |
2877 | | - | |
| 2860 | + | |
2878 | 2861 | | |
2879 | 2862 | | |
2880 | 2863 | | |
| |||
0 commit comments