Just to clarify, this is matching the change 8b254b5f3de4 ('topology: AIF directions are codec centric wrt PCMs') in soft.git?
If yes, it doesn't hurt to make this reference to help the rest of us figure out which commits are dependent.
Thanks!
On 12/18/2017 01:16 AM, Xiuli Pan wrote:
From: Pan Xiuli xiuli.pan@linux.intel.com
We misuse these two defines, now align the usage.
Signed-off-by: Pan Xiuli xiuli.pan@linux.intel.com
sound/soc/sof/topology.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/sof/topology.c b/sound/soc/sof/topology.c index bef4de1..45d6398 100644 --- a/sound/soc/sof/topology.c +++ b/sound/soc/sof/topology.c @@ -887,11 +887,11 @@ static int sof_widget_ready(struct snd_soc_component *scomp, int index, ret = sof_widget_load_pipeline(scomp, index, swidget, tw, &reply); break;
- case snd_soc_dapm_aif_in:
- case snd_soc_dapm_aif_out: ret = sof_widget_load_pcm(scomp, index, swidget, SOF_IPC_STREAM_CAPTURE, tw, &reply); break;
- case snd_soc_dapm_aif_out:
- case snd_soc_dapm_aif_in: ret = sof_widget_load_pcm(scomp, index, swidget, SOF_IPC_STREAM_PLAYBACK, tw, &reply); break;