ASoC: sun4i-codec: Set quirks.playback_only for H616 codec

Message ID 20260714113304.270224-1-wens@kernel.org (mailing list archive)
State New
Headers
Series ASoC: sun4i-codec: Set quirks.playback_only for H616 codec |

Commit Message

Chen-Yu Tsai July 14, 2026, 11:33 a.m. UTC
The H616 codec does not have capture capabilities. Set the
.playback_only quirks flag to denote this.

This was somehow missing from the original driver patch, even though
the patch prior to it in the series added this quirk.

Fixes: 9155c321a1d0 ("ASoC: sun4i-codec: support allwinner H616 codec")
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
---
 sound/soc/sunxi/sun4i-codec.c | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Mark Brown July 14, 2026, 2:33 p.m. UTC | #1
On Tue, 14 Jul 2026 19:33:03 +0800, Chen-Yu Tsai wrote:
> ASoC: sun4i-codec: Set quirks.playback_only for H616 codec

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.2

Thanks!

[1/1] ASoC: sun4i-codec: Set quirks.playback_only for H616 codec
      https://git.kernel.org/broonie/sound/c/d9e96f859de3

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
  
Jernej Škrabec July 14, 2026, 4:08 p.m. UTC | #2
Dne torek, 14. julij 2026 ob 13:33:03 Srednjeevropski poletni čas je Chen-Yu Tsai napisal(a):
> The H616 codec does not have capture capabilities. Set the
> .playback_only quirks flag to denote this.
> 
> This was somehow missing from the original driver patch, even though
> the patch prior to it in the series added this quirk.
> 
> Fixes: 9155c321a1d0 ("ASoC: sun4i-codec: support allwinner H616 codec")
> Signed-off-by: Chen-Yu Tsai <wens@kernel.org>

Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>

Best regards,
Jernej
  

Patch

diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c
index f4e22af594fa..93f511fb6190 100644
--- a/sound/soc/sunxi/sun4i-codec.c
+++ b/sound/soc/sunxi/sun4i-codec.c
@@ -2237,6 +2237,7 @@  static const struct sun4i_codec_quirks sun50i_h616_codec_quirks = {
 	.reg_dac_fifoc	= REG_FIELD(SUN50I_H616_CODEC_DAC_FIFOC, 0, 31),
 	.reg_dac_txdata	= SUN8I_H3_CODEC_DAC_TXDATA,
 	.has_reset	= true,
+	.playback_only	= true,
 	.dma_max_burst	= SUN4I_DMA_MAX_BURST,
 };