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

2018-03-16 Thread Charles Keepax
On Fri, Mar 16, 2018 at 07:32:07AM +, 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 
> ---

Thanks for spotting this.

Acked-by: Charles Keepax 

Thanks,
Charles


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

2018-03-16 Thread Charles Keepax
On Fri, Mar 16, 2018 at 07:32:07AM +, 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 
> ---

Thanks for spotting this.

Acked-by: Charles Keepax 

Thanks,
Charles