aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorDumitru Ceclan <[email protected]>2024-08-06 11:51:33 +0300
committerJonathan Cameron <[email protected]>2024-08-06 17:03:22 +0100
commit61cbfb5368dd50ed0d65ce21d305aa923581db2b (patch)
treec039cac30120f3b15b58831677e0b08f3bda933a /scripts/gdb/linux/lists.py
parente81bb580ec08d7503c14c92157d810d306290003 (diff)
iio: adc: ad7124: fix DT configuration parsing
The cfg pointer is set before reading the channel number that the configuration should point to. This causes configurations to be shifted by one channel. For example setting bipolar to the first channel defined in the DT will cause bipolar mode to be active on the second defined channel. Fix by moving the cfg pointer setting after reading the channel number. Fixes: 7b8d045e497a ("iio: adc: ad7124: allow more than 8 channels") Signed-off-by: Dumitru Ceclan <[email protected]> Reviewed-by: Nuno Sa <[email protected]> Link: https://patch.msgid.link/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions