ASoC: ak4613: cares Simple-Audio-Card case for TDM
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 8 Jun 2022 02:09:16 +0000 (02:09 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jun 2022 15:21:36 +0000 (16:21 +0100)
commited0073bd0fccec459b526918be70bf9dc551581a
treec83e324702f21c798d4ea4db71d58288ede615c2
parent40737057b48f1b4db67b0d766b95c87ba8fc5e03
ASoC: ak4613: cares Simple-Audio-Card case for TDM

Renesas is the only user of ak4613 on upstream for now, and
commit f28dbaa958fbd8 ("ASoC: ak4613: add TDM256 support")
added TDM256 support. Renesas tested part of it, because of
board connection.

It was assuming ak4613 is probed via Audio-Graph-Card, but it
might be probed via Simple-Audio-Card either.
It will indicates WARNING in such case. This patch fixup it.

Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/87h74v29f7.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak4613.c