summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiale Yao <yaojiale02@163.com>2026-09-25 21:17:35 +0800
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-09-28 17:07:34 +0100
commitd13716e3defd5b8cec3ee2c27f4d9b7e01314067 (patch)
tree7987b77a16d2620f3166c92e918e22944bf0cec4 /tools/perf/scripts/python
parent2c01a0a1c5550b4f502c7747c06d2e57a240cd87 (diff)
downloadlinux-next-d13716e3defd5b8cec3ee2c27f4d9b7e01314067.tar.gz
linux-next-d13716e3defd5b8cec3ee2c27f4d9b7e01314067.zip
iio: potentiometer: x9250: 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 x9250_probe() later dereferences the result while naming the IIO device. Reject devices without match data before enabling the regulators. Fixes: 66bfc528a6fd ("iio: potentiometer: Add support for the Renesas X9250 potentiometers") 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