aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHaibo Chen <haibo.chen@nxp.com>2022-04-25 16:41:00 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-05-01 17:43:25 +0100
commitfe18894930a025617114aa8ca0adbf94d5bffe89 (patch)
tree90f32875442ab44ec807eed424f643dec6244bd0 /tools/perf/scripts/python/stackcollapse.py
parent57ae8a492116910bad2b3497ffe555b3a4b4180f (diff)
iio: mma8452: fix probe fail when device tree compatible is used.
Correct the logic for the probe. First check of_match_table, if not meet, then check i2c_driver.id_table. If both not meet, then return fail. Fixes: a47ac019e7e8 ("iio: mma8452: Fix probe failing when an i2c_device_id is used") Signed-off-by: Haibo Chen <haibo.chen@nxp.com> Link: https://lore.kernel.org/r/1650876060-17577-1-git-send-email-haibo.chen@nxp.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions