OSDN Git Service

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>
Wed, 8 Jun 2022 11:28:05 +0000 (12:28 +0100)
commitec3ad554b956d5dbefa1962c419f164ba223e6b3
treec83e324702f21c798d4ea4db71d58288ede615c2
parent27e05fcbea2053e7ee9efb942269ba0ced740d32
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