diff options
| author | David Lechner <dlechner@baylibre.com> | 2023-09-29 12:23:07 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-09-30 15:25:15 +0100 |
| commit | 7fe2d05cee46b1c4d9f1efaeab08cc31a0dfff60 (patch) | |
| tree | 6ff1f4fc0388df5f1e678da1e30bbb2931d0d32d /tools/perf/scripts/python | |
| parent | staging: iio: resolver: ad2s1210: fix not restoring sample gpio in channel read (diff) | |
| download | linux-7fe2d05cee46b1c4d9f1efaeab08cc31a0dfff60.tar.gz linux-7fe2d05cee46b1c4d9f1efaeab08cc31a0dfff60.zip | |
staging: iio: resolver: ad2s1210: fix use before initialization
This fixes a use before initialization in ad2s1210_probe(). The
ad2s1210_setup_gpios() function uses st->sdev but it was being called
before this field was initialized.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20230929-ad2s1210-mainline-v3-2-fa4364281745@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
