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

From: Dan Carpenter
Date: Fri Mar 16 2018 - 04:53:58 EST


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@xxxxxxxxxx>


This fixes a double free on unload, right?

regards,
dan carpenter