diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-09-11 10:23:50 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-09-11 12:50:07 +0100 |
commit | d3091d09de46e7ea88fa943efd458094e6a6ceb6 (patch) | |
tree | 42bcd5526589ee7fe1422d5817b999ce5f20aad1 /sound/soc/codecs/max98373.h | |
parent | 02de898322869442cf6d6f4ba8f22cbdc5889f4b (diff) |
ASoC: max98373: Convert to use GPIO descriptors
Instead of relying on legacy interfaces, convert the driver to
use GPIO descriptors. This is a straight-forward conversion,
we support also sdw devices providing GPIO descriptor tables
if they so desire.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230911-descriptors-asoc-max-v2-3-b9d793fb768e@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/max98373.h')
-rw-r--r-- | sound/soc/codecs/max98373.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/max98373.h b/sound/soc/codecs/max98373.h index e1810b3b1620..af3b62217497 100644 --- a/sound/soc/codecs/max98373.h +++ b/sound/soc/codecs/max98373.h @@ -213,7 +213,7 @@ struct max98373_cache { struct max98373_priv { struct regmap *regmap; - int reset_gpio; + struct gpio_desc *reset; unsigned int v_slot; unsigned int i_slot; unsigned int spkfb_slot; |