Hi > Step1 > dpcm_xxx flag will be "option flag" instead of "mandatory flag" > for a while to keep compatibility and avoide confusion. > But it will be removed in Step3. To indicate such things, > it will have dev_warn() if dpcm_xxx flag was used. like below > > if (rtd->dai_link->dynamic || rtd->dai_link->no_pcm) { > has_playback = /* at least one of CPU DAI supports playback */ > has_capture = ... > > if (!playback && rtd->dai_link->dpcm_playback) { > dev_warn(dev, "Playback is requested, but CPU doesn't support it\n") > has_playback = 1; > } > ... I noticed that this Step is not needed, because all existing driver has both dpcm_xxx and availability. Instead, We want to have warning to indicate to use xxx_only flag if dpcm_xxx was used as limit availability. Thank you for your help !! Best regards --- Renesas Electronics Ph.D. Kuninori Morimoto
- References:
- [PATCH v3 00/23] ASoC: Replace dpcm_playback/capture to playback/capture_assertion
- From: Kuninori Morimoto
- [PATCH v3 01/23] ASoC: soc-pcm: cleanup soc_get_playback_capture()
- From: Kuninori Morimoto
- Re: [PATCH v3 01/23] ASoC: soc-pcm: cleanup soc_get_playback_capture()
- From: Pierre-Louis Bossart
- Re: [PATCH v3 01/23] ASoC: soc-pcm: cleanup soc_get_playback_capture()
- From: Kuninori Morimoto
- Re: [PATCH v3 01/23] ASoC: soc-pcm: cleanup soc_get_playback_capture()
- From: Pierre-Louis Bossart
- Re: [PATCH v3 01/23] ASoC: soc-pcm: cleanup soc_get_playback_capture()
- From: Kuninori Morimoto
- Re: [PATCH v3 01/23] ASoC: soc-pcm: cleanup soc_get_playback_capture()
- From: Pierre-Louis Bossart
- Re: [PATCH v3 01/23] ASoC: soc-pcm: cleanup soc_get_playback_capture()
- From: Kuninori Morimoto
- Re: [PATCH v3 01/23] ASoC: soc-pcm: cleanup soc_get_playback_capture()
- From: Kuninori Morimoto
- Re: [PATCH v3 01/23] ASoC: soc-pcm: cleanup soc_get_playback_capture()
- From: Pierre-Louis Bossart
- Re: [PATCH v3 01/23] ASoC: soc-pcm: cleanup soc_get_playback_capture()
- From: Pierre-Louis Bossart
- Re: [PATCH v3 01/23] ASoC: soc-pcm: cleanup soc_get_playback_capture()
- From: Kuninori Morimoto
- [PATCH v3 00/23] ASoC: Replace dpcm_playback/capture to playback/capture_assertion
- Prev by Date: Re: [PATCH v20 41/41] ASoC: doc: Add documentation for SOC USB
- Next by Date: [PATCH RESEND 0/2] soundwire: intel_ace2x: fix wakeup handling for LunarLake
- Previous by thread: Re: [PATCH v3 01/23] ASoC: soc-pcm: cleanup soc_get_playback_capture()
- Next by thread: [PATCH v3 02/23] ASoC: soc-pcm: indicate warning if DPCM BE Codec has no settings
- Index(es):