Re: [PATCH -next] ASoC: wm8400: Use devm_snd_soc_register_component()

From: Charles Keepax
Date: Fri Mar 16 2018 - 05:22:53 EST


On Fri, Mar 16, 2018 at 07:32:07AM +0000, Wei Yongjun wrote:
> Since the remove callback is removed, the snd_soc_unregister_component()
> is missing when remove device. Using devm_snd_soc_register_component()
> instead of snd_soc_register_component().
>
> Fixes: 10dc44c6462d ("ASoC: wm8400: replace codec to component")
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
> ---

Thanks for spotting this.

Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>

Thanks,
Charles