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

Charles Keepax ckeepax at opensource.cirrus.com
Fri Mar 16 10:21:50 CET 2018


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 at huawei.com>
> ---

Thanks for spotting this.

Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>

Thanks,
Charles


More information about the Alsa-devel mailing list