mbox series

[v2,0/3] ASoC: tas*: Fix up GPIO usage

Message ID 20240807-asoc-tas-gpios-v2-0-bd0f2705d58b@linaro.org
Headers show
Series ASoC: tas*: Fix up GPIO usage | expand

Message

Linus Walleij Aug. 7, 2024, 3:02 p.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>
---
Changes in v2:
- Rebased onto v6.11-rc1
- Link to v1: https://lore.kernel.org/r/20240701-asoc-tas-gpios-v1-0-d69ec5d79939@linaro.org

---
Linus Walleij (3):
      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        |  1 -
 sound/soc/codecs/tas2764.c        |  1 -
 sound/soc/codecs/tas2770.c        |  1 -
 sound/soc/codecs/tas2780.c        |  1 -
 sound/soc/codecs/tas2781-comlib.c |  3 ---
 sound/soc/codecs/tas2781-fmwlib.c |  1 -
 sound/soc/codecs/tas2781-i2c.c    | 26 ++++----------------------
 9 files changed, 6 insertions(+), 37 deletions(-)
---
base-commit: 8400291e289ee6b2bf9779ff1c83a291501f017b
change-id: 20240701-asoc-tas-gpios-5c051d80d768

Best regards,