Commit 871a99f
media: i2c: Automatically select common options for lens drivers
In commit 7d3c7d2 ("media: i2c: Add a camera sensor top level menu")
a top level menu was added for sensor drivers so that all sensor drivers
would depend on I2C and so that MEDIA_CONTROLLER, V4L2_FWNODE and
VIDEO_V4L2_SUBDEV_API would be automatically selected for all sensor
drivers.
All lens drivers must depend on I2C and VIDEO_DEV and must select
MEDIA_CONTROLLER, V4L2_FWNODE and VIDEO_V4L2_SUBDEV_API and most already
do, but e.g. VIDEO_V4L2_SUBDEV_API is not consistenly selected.
Change the "Lens drivers" menu into a menuconfig option with
the necessary depends and selects. This ensures that these options are
depended on / selected consistently and simplifies the Kconfig snippets
for the various lens voice coil drivers.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202411061152.VKd9JYpa-lkp@intel.com/
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>1 parent 375fc90 commit 871a99f
1 file changed
Lines changed: 12 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
766 | 766 | | |
767 | 767 | | |
768 | 768 | | |
769 | | - | |
770 | | - | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
771 | 778 | | |
772 | 779 | | |
773 | 780 | | |
774 | | - | |
775 | | - | |
776 | | - | |
| 781 | + | |
777 | 782 | | |
778 | 783 | | |
779 | 784 | | |
780 | 785 | | |
781 | 786 | | |
782 | 787 | | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | | - | |
787 | 788 | | |
788 | 789 | | |
789 | 790 | | |
| |||
792 | 793 | | |
793 | 794 | | |
794 | 795 | | |
795 | | - | |
796 | | - | |
797 | | - | |
798 | | - | |
| 796 | + | |
799 | 797 | | |
800 | 798 | | |
801 | 799 | | |
| |||
804 | 802 | | |
805 | 803 | | |
806 | 804 | | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | 805 | | |
812 | 806 | | |
813 | 807 | | |
| |||
816 | 810 | | |
817 | 811 | | |
818 | 812 | | |
819 | | - | |
820 | | - | |
821 | | - | |
822 | | - | |
823 | 813 | | |
824 | 814 | | |
825 | 815 | | |
| |||
828 | 818 | | |
829 | 819 | | |
830 | 820 | | |
831 | | - | |
832 | | - | |
833 | | - | |
834 | | - | |
835 | 821 | | |
836 | 822 | | |
837 | 823 | | |
838 | 824 | | |
839 | 825 | | |
840 | 826 | | |
841 | | - | |
| 827 | + | |
842 | 828 | | |
843 | 829 | | |
844 | 830 | | |
| |||
0 commit comments