]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: ipu-bridge: Sort ipu_supported_sensors[] array by ACPI HID
authorHans de Goede <hdegoede@redhat.com>
Mon, 10 Jun 2024 17:34:17 +0000 (19:34 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 15 Jun 2024 09:16:39 +0000 (11:16 +0200)
commit6fca71fac4c8be8793ccbd854ea786c22f690aa2
treef5d7ea15da3b1785d21ff691ec83803ed5447460
parenta50a2a3242f35dd551d89a6bad17255a410ba955
media: ipu-bridge: Sort ipu_supported_sensors[] array by ACPI HID

Sort the sensors in ipu_supported_sensors[] by ACPI HID rather then having
them in some random order.

While at it also use the correct (same as datasheet) capitalization
for the sensor names in the comments. Instead of sometimes writing
OV#### and sometimes ov####.

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-cisco@xs4all.nl>
drivers/media/pci/intel/ipu-bridge.c