11 Oct
2017
11 Oct
'17
8:56 a.m.
Hi Mark
From: Kuninori Morimoto kuninori.morimoto.gx@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@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