summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJosé María Martín <jmmartinf@hotmail.com>2026-08-10 16:30:26 +0200
committerSakari Ailus <sakari.ailus@linux.intel.com>2026-08-11 09:07:21 +0300
commit4900cad020c0580dfb1be27776ff10a4ef110cfa (patch)
tree2fe4c430a84d00d397d036be5560262b2b6f01dd /tools/perf/scripts/python/stackcollapse.py
parent47d82b605351c0e04f6365e42c8ffe2fcfdba615 (diff)
media: ipu-bridge: check all DMI entries when overriding sensor rotation
A machine can have more than one sensor whose rotation needs to be overridden, which takes one upside_down_sensor_dmi_ids[] entry per sensor, all sharing the same DMI match but with different ACPI HIDs in driver_data. ipu_bridge_parse_rotation() uses dmi_first_match(), which always stops at the first entry matching the running machine, so any further entry for the same machine is unreachable and only one sensor per machine can ever be corrected. Walk the whole table and match every entry for the running machine against the sensor's ACPI HID instead. Fixes: b75710155a82 ("media: ipu-bridge: Add DMI quirk for Dell XPS laptops with upside down sensors") Cc: stable@vger.kernel.org Signed-off-by: José María Martín <jmmartinf@hotmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions