diff options
| author | David Lechner <dlechner@baylibre.com> | 2023-09-21 09:43:45 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-09-24 18:54:59 +0100 |
| commit | 5e99f692d4e32e3250ab18d511894ca797407aec (patch) | |
| tree | f4a899825ebd2267e2aa664c9082c4116fa55c92 /tools/perf/scripts/python | |
| parent | staging: iio: resolver: ad2s1210: fix ad2s1210_show_fault (diff) | |
| download | linux-5e99f692d4e32e3250ab18d511894ca797407aec.tar.gz linux-5e99f692d4e32e3250ab18d511894ca797407aec.zip | |
staging: iio: resolver: ad2s1210: fix not restoring sample gpio in channel read
In theory, this code path should not be reachable because of the
previous switch statement. But just in case we should make sure we
are restoring the SAMPLE gpio to its original state before returning
in addition to releasing the mutex lock.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20230921144400.62380-5-dlechner@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
