summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiale Yao <yaojiale02@163.com>2026-09-25 21:17:30 +0800
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-09-28 17:07:34 +0100
commita3f438368c596040efbc44aa8a65e4e5ef2f3847 (patch)
tree423121b3bd2ee81e3ab4faed7129fc661c851e0c /tools/perf/scripts/python
parenteb48e411a333fa41bf4b9ae30317c30ac9433493 (diff)
downloadlinux-next-a3f438368c596040efbc44aa8a65e4e5ef2f3847.tar.gz
linux-next-a3f438368c596040efbc44aa8a65e4e5ef2f3847.zip
iio: amplifiers: ad8366: reject devices without match data
A device bound through driver_override need not match an entry in the driver tables. In that case spi_get_device_match_data() returns NULL, but ad8366_probe() later dereferences the result while setting up the IIO device. Reject devices without match data before using the chip information. Fixes: d5e02d0d00b9 ("iio: amplifiers: ad8366: add device tree support") Signed-off-by: Jiale Yao <yaojiale02@163.com> Cc: stable@vger.kernel.org Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions