diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-09 17:06:19 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-22 19:09:55 +0100 |
| commit | 8dd92667f0a55ca5b848bae36bbf7ad4a8837ccc (patch) | |
| tree | d735fe38c21d3717f7e096849ca97b53a9c5e8e8 /tools/perf/scripts/python/flamegraph.py | |
| parent | d793d614dc3f771901d3d10c5079830743dec897 (diff) | |
| download | linux-8dd92667f0a55ca5b848bae36bbf7ad4a8837ccc.tar.gz linux-8dd92667f0a55ca5b848bae36bbf7ad4a8837ccc.zip | |
iio: light: as73211: Use guard() and move mode switch into inner write_raw fucntion
By using guard(mutex) and moving code that switches the device to config
mode into _as73211_write_raw() the error flow is simplified.
Cc: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250309170633.1347476-5-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
