[PATCH v3 14/23] ASoC: ti: Replace playback/capture_only to playback/capture_assertion

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

 



soc_get_playback_capture() is now handling DPCM and normal
comprehensively for playback/capture stream in same code.
This patch converts xxx_only flag to xxx_assertion.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
---
 sound/soc/ti/j721e-evm.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/soc/ti/j721e-evm.c b/sound/soc/ti/j721e-evm.c
index d9d1e021f5b2..a58c7d64c28e 100644
--- a/sound/soc/ti/j721e-evm.c
+++ b/sound/soc/ti/j721e-evm.c
@@ -670,7 +670,7 @@ static int j721e_soc_probe_cpb(struct j721e_priv *priv, int *link_idx,
 	priv->dai_links[*link_idx].platforms->of_node = dai_node;
 	priv->dai_links[*link_idx].codecs->of_node = codec_node;
 	priv->dai_links[*link_idx].codecs->dai_name = "pcm3168a-dac";
-	priv->dai_links[*link_idx].playback_only = 1;
+	priv->dai_links[*link_idx].playback_assertion = 1;
 	priv->dai_links[*link_idx].id = J721E_AUDIO_DOMAIN_CPB;
 	priv->dai_links[*link_idx].dai_fmt = J721E_DAI_FMT;
 	priv->dai_links[*link_idx].init = j721e_audio_init;
@@ -690,7 +690,7 @@ static int j721e_soc_probe_cpb(struct j721e_priv *priv, int *link_idx,
 	priv->dai_links[*link_idx].platforms->of_node = dai_node;
 	priv->dai_links[*link_idx].codecs->of_node = codec_node;
 	priv->dai_links[*link_idx].codecs->dai_name = "pcm3168a-adc";
-	priv->dai_links[*link_idx].capture_only = 1;
+	priv->dai_links[*link_idx].capture_assertion = 1;
 	priv->dai_links[*link_idx].id = J721E_AUDIO_DOMAIN_CPB;
 	priv->dai_links[*link_idx].dai_fmt = J721E_DAI_FMT;
 	priv->dai_links[*link_idx].init = j721e_audio_init;
@@ -787,7 +787,7 @@ static int j721e_soc_probe_ivi(struct j721e_priv *priv, int *link_idx,
 	priv->dai_links[*link_idx].codecs[0].dai_name = "pcm3168a-dac";
 	priv->dai_links[*link_idx].codecs[1].of_node = codecb_node;
 	priv->dai_links[*link_idx].codecs[1].dai_name = "pcm3168a-dac";
-	priv->dai_links[*link_idx].playback_only = 1;
+	priv->dai_links[*link_idx].playback_assertion = 1;
 	priv->dai_links[*link_idx].id = J721E_AUDIO_DOMAIN_IVI;
 	priv->dai_links[*link_idx].dai_fmt = J721E_DAI_FMT;
 	priv->dai_links[*link_idx].init = j721e_audio_init_ivi;
@@ -809,7 +809,7 @@ static int j721e_soc_probe_ivi(struct j721e_priv *priv, int *link_idx,
 	priv->dai_links[*link_idx].codecs[0].dai_name = "pcm3168a-adc";
 	priv->dai_links[*link_idx].codecs[1].of_node = codecb_node;
 	priv->dai_links[*link_idx].codecs[1].dai_name = "pcm3168a-adc";
-	priv->dai_links[*link_idx].capture_only = 1;
+	priv->dai_links[*link_idx].capture_assertion = 1;
 	priv->dai_links[*link_idx].id = J721E_AUDIO_DOMAIN_IVI;
 	priv->dai_links[*link_idx].dai_fmt = J721E_DAI_FMT;
 	priv->dai_links[*link_idx].init = j721e_audio_init;
-- 
2.25.1





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux