Re: [PATCH v2] ASoC: wm9712: fix replace codec to component
From: Charles Keepax
Date: Tue Aug 14 2018 - 09:27:32 EST
On Tue, Aug 14, 2018 at 12:35:56AM +0200, Marcel Ziswiler wrote:
> From: Marcel Ziswiler <marcel.ziswiler@xxxxxxxxxxx>
>
> Since commit 143b44845d87 ("ASoC: wm9712: replace codec to component")
> "wm9712-codec" got renamed to "wm9712-component", however, this change
> never got propagated down to the actual board/platform drivers. E.g. on
> Colibri T20 this lead to the following spew upon boot with sound/touch
> being broken:
>
> [ 2.214121] tegra-snd-wm9712 sound: ASoC: CODEC DAI wm9712-hifi not registered
> [ 2.222137] tegra-snd-wm9712 sound: snd_soc_register_card failed (-517)
> ...
> [ 2.344384] tegra-snd-wm9712 sound: ASoC: CODEC DAI wm9712-hifi not registered
> [ 2.351885] tegra-snd-wm9712 sound: snd_soc_register_card failed (-517)
> ...
> [ 2.668339] tegra-snd-wm9712 sound: ASoC: CODEC DAI wm9712-hifi not registered
> [ 2.675811] tegra-snd-wm9712 sound: snd_soc_register_card failed (-517)
> ...
> [ 3.208408] tegra-snd-wm9712 sound: ASoC: CODEC DAI wm9712-hifi not registered
> [ 3.216312] tegra-snd-wm9712 sound: snd_soc_register_card failed (-517)
> ...
> [ 3.235397] tegra-snd-wm9712 sound: ASoC: CODEC DAI wm9712-hifi not registered
> [ 3.248938] tegra-snd-wm9712 sound: snd_soc_register_card failed (-517)
> ...
> [ 14.970443] ALSA device list:
> [ 14.996628] No soundcards found.
>
> This commit finally fixes this again.
>
> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@xxxxxxxxxxx>
>
> ---
Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
Thanks,
Charles