[PATCH -next] ASoC: mediatek: mt2701: drop unnessary snd_soc_unregister_component()

Dan Carpenter dan.carpenter at oracle.com
Fri Mar 16 01:47:12 PDT 2018


On Fri, Mar 16, 2018 at 07:31:56AM +0000, Wei Yongjun wrote:
> It's not necessary to unregister a component registered
> with devm_snd_soc_register_component().
> 
> Fixes: f1b5bf07365d ("ASoC: mt2701/mt8173: replace platform to componen")
> Signed-off-by: Wei Yongjun <weiyongjun1 at huawei.com>


This fixes a double free on unload, right?

regards,
dan carpenter




More information about the linux-arm-kernel mailing list