Re: [PATCH] ASoC: rsnd: stop all working stream when .remove

Kuninori Morimoto
2017-09-05T10:07:46Z

Hi Takashi-san

> I'm happy to work for it.
> But adding new unplug feature is for sync with all "drivers", and this patch is sync for "clk" for my CPU driver.
> Can we separate these ?
>
> It belongs with the same thing. Basically you're tweaking clk per PCM stream status.
> By handling the full hot-plug properly, the PCM stream is assured to be stopped,
> thus you don't have to fiddle with clk in the remove callback at all.

Oh, yes, indeed.
Thanks.