diff options
author | Alexander Stein <[email protected]> | 2023-11-30 10:57:51 +0100 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2024-01-18 21:10:42 +0100 |
commit | db63eacdf61d6bbcde783f15aaafbd8e66476e9a (patch) | |
tree | 8d1b84018a2f7594a73e6d5545ffb5e5a1e94e8c /scripts/gdb/linux/pgtable.py | |
parent | 13e3a512a29001cab68fe9a0c12be94e6d42a10c (diff) |
i2c: imx: Make SDA actually optional for bus recovering
Both i2c_generic_scl_recovery() and the debug output indicate that SDA is
purely optional for bus recovery. But devm_gpiod_get() never returns NULL
making it mandatory. Fix this by calling devm_gpiod_get_optional instead.
Signed-off-by: Alexander Stein <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Reviewed-by: Oleksij Rempel <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions