[alsa-devel] [PATCH 3/3] ASoC: rsnd: call snd_soc_card_disconnect_sync() when remove

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Oct 11 08:56:06 CEST 2017


Hi Mark

> From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> 
> Renesas R-Car sound driver should be stopped when unbind during
> playbacking/capturing. Otherwise clock open/close counter mismatch
> happen.
> 
> One note is that we can't skip from remove function (= return -Exxx)
> in such case if user used unbind. Because unbind function doesn't
> check return value from each driver's remove function.
> This means we must to stop and remove driver in remove function.
> 
> Now ASoC has snd_soc_card_disconnect_sync() for this purpose.
> Let's use it.
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> ---

I'm sorry, but, I noticed this patch is not so good.
I want to post v2 patch if I could response from
Takashi-san about [1/3].

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list