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

2018-03-18 Thread Kuninori Morimoto
Hi Wei > 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

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: replac

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

2018-03-16 Thread Wei Yongjun
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 --- sound/soc/codec