diff options
author | Fernando Yang <[email protected]> | 2024-06-03 15:07:54 -0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-06-08 18:26:57 +0100 |
commit | a2b86132955268b2a1703082fbc2d4832fc001b8 (patch) | |
tree | 10336f02cd604a57a4499b3dc589385bdaae6608 /scripts/gdb/linux/utils.py | |
parent | 89b898c627a49b978a4c323ea6856eacfc21f6ba (diff) |
iio: adc: ad7266: Fix variable checking bug
The ret variable was not checked after iio_device_release_direct_mode(),
which could possibly cause errors
Fixes: c70df20e3159 ("iio: adc: ad7266: claim direct mode during sensor read")
Signed-off-by: Fernando Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions