diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-11-02 16:20:04 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-03 13:26:13 +0000 |
commit | a984d8332d90afd2989e10b095ffdb2875d4bac8 (patch) | |
tree | f8956f2a9052a81a88bd96cf19d125f42f4356e1 /scripts/gdb/linux/modules.py | |
parent | 426c7bf45f207ac7a962e012dd482f7aaa3a3d5f (diff) |
ASoC: tlv320aic3x: switch to using gpiod API
Switch the driver from legacy gpio API that is deprecated to the newer
gpiod API that respects line polarities described in ACPI/DT.
The driver still tries to support shared reset lines, by first trying to
allocate the reset GPIO normally, and then non-exclusively, although the
utility of such support is questionable, toggling reset line from one
driver/instance will result in all chips being reset, potentially at an
inopportune moment.
Note that this change depends on commit fbbbcd177a27 ("gpiolib: of: add
quirk for locating reset lines with legacy bindings") to translate
request for "reset" GPIO to the legacy name "gpio-reset" in case when
proper name is not used.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://lore.kernel.org/r/20221102232004.1721864-3-dmitry.torokhov@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions