mbox series

[0/4] ASoC: tas*: Fix up GPIO usage

Message ID 20240701-asoc-tas-gpios-v1-0-d69ec5d79939@linaro.org
Headers show
Series ASoC: tas*: Fix up GPIO usage | expand

Message

Linus Walleij July 1, 2024, 7:02 a.m. UTC
The TI TAS drivers use some legacy GPIO code and headers,
this series fixes it up.

The TAS2781 is a special case since it adds a handful of
lines of deviating code to reconfigure a GPIO line for
IRQ mode and then never actually use the IRQ obtained in
the code. Is the line used by autonomous hardware? I'm
puzzled by this.

Anyways the patch suggest how to solve this properly by
fixing the parent irqchip and I'm happy to help.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Linus Walleij (4):
      ASoC: tas5086: Convert to GPIO descriptors
      ASoC: tas2781-i2c: Drop weird GPIO code
      ASoC: tas2781-i2c: Get the right GPIO line
      ASoC: tas*: Drop unused GPIO includes

 include/sound/tas2781.h           |  7 +------
 sound/pci/hda/tas2781_hda_i2c.c   |  2 +-
 sound/soc/codecs/tas2552.c        |  2 --
 sound/soc/codecs/tas2764.c        |  2 --
 sound/soc/codecs/tas2770.c        |  2 --
 sound/soc/codecs/tas2780.c        |  2 --
 sound/soc/codecs/tas2781-comlib.c |  3 ---
 sound/soc/codecs/tas2781-fmwlib.c |  1 -
 sound/soc/codecs/tas2781-i2c.c    | 26 ++++----------------------
 sound/soc/codecs/tas5086.c        | 27 ++++++++++++---------------
 10 files changed, 18 insertions(+), 56 deletions(-)
---
base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
change-id: 20240701-asoc-tas-gpios-5c051d80d768

Best regards,