]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: fsl-asoc-card: Add missing handling of {hp,mic}-dt-gpios
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 27 Sep 2024 12:42:16 +0000 (14:42 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 3 Oct 2024 14:59:43 +0000 (15:59 +0100)
commitcfd1054c65eefec30972416a83eb62920bc1ff8d
tree291743f9c185f41c5fd8c3aa6a41adb7c943127a
parent9852d85ec9d492ebef56dc5f229416c925758edc
ASoC: fsl-asoc-card: Add missing handling of {hp,mic}-dt-gpios

The DT bindings deprecated the "hp-det-gpio" and "mic-det-gpio"
properties in favor of "hp-det-gpios" and "mic-det-gpios", but the
driver was never updated to support the latter.

Even before, there existed users of "hp-det-gpios" and "mic-det-gpios".
While this may have been handled fine by the ASoC core, this was missed
by the Freescale-specific part.

Fixes: 4189b54220e5af15 ("ASoC: dt-bindings: fsl-asoc-card: convert to YAML")
Fixes: 40ba2eda0a7b727f ("arm64: dts: imx8mm-nitrogen-r2: add audio")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://patch.msgid.link/dbcb5bfea005a468ec6dc38374fe6d02bc693c22.1727438777.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl-asoc-card.c