diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-08-19 18:13:47 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-20 12:59:17 +0100 |
commit | 5f83ee4b1f0c04a8b4125daab8918606df3dc035 (patch) | |
tree | 4446b56a401a6c1c2f203770578187031f7d33ef /sound/soc/amd | |
parent | e6c1d9068295796e34d59ef08fa80f6ff8f3530a (diff) |
ASoC: tas5086: use sleeping variants of gpiod API
The driver does not access reset GPIO in atomic contexts so it is usable
with GPIOs that may sleep during access. Switch to using
gpiod_set_value_cansleep().
Also the reset GPIO is configured as output at the time it is acquired,
there is no need to use gpiod_direction_output() when executing reset
sequence.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://patch.msgid.link/ZsPty8oNMQk4YTl1@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd')
0 files changed, 0 insertions, 0 deletions