Re: [PATCH 3/3] ASoC: rsnd: call snd_soc_card_disconnect_sync() when remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark

> From: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
> 
> 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@xxxxxxxxxxx>
> ---

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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux