summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAntoniu Miclaus <antoniu.miclaus@analog.com>2026-09-22 14:09:58 +0300
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-09-28 17:07:34 +0100
commitc051d08d98771132868abf0cb95b6de95ab3060a (patch)
tree64517ac37071df684fba499c994cc71d05929039 /tools/perf/scripts/python/stackcollapse.py
parent062c44e53746850c4aee3ebc37c4c918a536b33f (diff)
downloadlinux-next-c051d08d98771132868abf0cb95b6de95ab3060a.tar.gz
linux-next-c051d08d98771132868abf0cb95b6de95ab3060a.zip
iio: adc: ad4080: enable address ascension for chip identification
The two byte bulk read at AD4080_REG_PRODUCT_ID_L expects PRODUCT_ID_L followed by PRODUCT_ID_H. After a software reset the AD408x defaults to descending address mode, so the second byte comes from CHIP_TYPE (0x03) instead. CHIP_TYPE reads 0x07 on all AD408x parts, so an AD4080 reports 0x0750 rather than 0x0050 and every part logs "Unrecognized CHIP_ID". Set ADDR_ASC along with SDO_ENABLE before the read. This is the only multi byte transfer in the driver, so no other access is affected. Fixes: b66cddc8be72 ("iio: adc: ad4080: fix chip identification") Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Cc: stable@vger.kernel.org Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions