Messages in this thread | | | From | Kuninori Morimoto <> | Subject | Re: [PATCH] ASoC: soc-pcm: fix hw->formats cleared by soc_pcm_hw_init() for dpcm | Date | Mon, 13 Mar 2023 06:15:54 +0000 |
| |
Hi Shengjiu
> But, it is doing same things under (A), too. > Do we need to initialize hw many times ? I'm not sure. > Can we simply remove soc_pcm_hw_init() from dpcm_runtime_setup_fe() ? (snip) > which only calls soc_pcm_init_runtime_hw() for non dpcm case. > > So the initialization of hw is not many times. > > For dpcm the code here will be skipped. The initialization happens > only in dpcm_runtime_setup_fe().
Oh I see. Thank you for clarify it.
Best regards --- Kuninori Morimoto
| |