diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2023-11-30 12:57:51 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2024-01-18 23:10:42 +0300 |
commit | db63eacdf61d6bbcde783f15aaafbd8e66476e9a (patch) | |
tree | 8d1b84018a2f7594a73e6d5545ffb5e5a1e94e8c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 13e3a512a29001cab68fe9a0c12be94e6d42a10c (diff) | |
download | linux-db63eacdf61d6bbcde783f15aaafbd8e66476e9a.tar.xz |
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 <alexander.stein@ew.tq-group.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions