@@ -78,7 +78,7 @@ static struct snd_soc_dai_link mt6797_mt6351_dai_links[] = {
7878 .trigger = {SND_SOC_DPCM_TRIGGER_PRE ,
7979 SND_SOC_DPCM_TRIGGER_PRE },
8080 .dynamic = 1 ,
81- .dpcm_playback = 1 ,
81+ .playback_only = 1 ,
8282 SND_SOC_DAILINK_REG (playback_1 ),
8383 },
8484 {
@@ -87,7 +87,7 @@ static struct snd_soc_dai_link mt6797_mt6351_dai_links[] = {
8787 .trigger = {SND_SOC_DPCM_TRIGGER_PRE ,
8888 SND_SOC_DPCM_TRIGGER_PRE },
8989 .dynamic = 1 ,
90- .dpcm_playback = 1 ,
90+ .playback_only = 1 ,
9191 SND_SOC_DAILINK_REG (playback_2 ),
9292 },
9393 {
@@ -96,7 +96,7 @@ static struct snd_soc_dai_link mt6797_mt6351_dai_links[] = {
9696 .trigger = {SND_SOC_DPCM_TRIGGER_PRE ,
9797 SND_SOC_DPCM_TRIGGER_PRE },
9898 .dynamic = 1 ,
99- .dpcm_playback = 1 ,
99+ .playback_only = 1 ,
100100 SND_SOC_DAILINK_REG (playback_3 ),
101101 },
102102 {
@@ -105,7 +105,7 @@ static struct snd_soc_dai_link mt6797_mt6351_dai_links[] = {
105105 .trigger = {SND_SOC_DPCM_TRIGGER_PRE ,
106106 SND_SOC_DPCM_TRIGGER_PRE },
107107 .dynamic = 1 ,
108- .dpcm_capture = 1 ,
108+ .capture_only = 1 ,
109109 SND_SOC_DAILINK_REG (capture_1 ),
110110 },
111111 {
@@ -114,7 +114,7 @@ static struct snd_soc_dai_link mt6797_mt6351_dai_links[] = {
114114 .trigger = {SND_SOC_DPCM_TRIGGER_PRE ,
115115 SND_SOC_DPCM_TRIGGER_PRE },
116116 .dynamic = 1 ,
117- .dpcm_capture = 1 ,
117+ .capture_only = 1 ,
118118 SND_SOC_DAILINK_REG (capture_2 ),
119119 },
120120 {
@@ -123,7 +123,7 @@ static struct snd_soc_dai_link mt6797_mt6351_dai_links[] = {
123123 .trigger = {SND_SOC_DPCM_TRIGGER_PRE ,
124124 SND_SOC_DPCM_TRIGGER_PRE },
125125 .dynamic = 1 ,
126- .dpcm_capture = 1 ,
126+ .capture_only = 1 ,
127127 SND_SOC_DAILINK_REG (capture_3 ),
128128 },
129129 {
@@ -132,7 +132,7 @@ static struct snd_soc_dai_link mt6797_mt6351_dai_links[] = {
132132 .trigger = {SND_SOC_DPCM_TRIGGER_PRE ,
133133 SND_SOC_DPCM_TRIGGER_PRE },
134134 .dynamic = 1 ,
135- .dpcm_capture = 1 ,
135+ .capture_only = 1 ,
136136 SND_SOC_DAILINK_REG (capture_mono_1 ),
137137 },
138138 {
@@ -141,8 +141,6 @@ static struct snd_soc_dai_link mt6797_mt6351_dai_links[] = {
141141 .trigger = {SND_SOC_DPCM_TRIGGER_PRE ,
142142 SND_SOC_DPCM_TRIGGER_PRE },
143143 .dynamic = 1 ,
144- .dpcm_playback = 1 ,
145- .dpcm_capture = 1 ,
146144 .ignore_suspend = 1 ,
147145 SND_SOC_DAILINK_REG (hostless_lpbk ),
148146 },
@@ -152,33 +150,25 @@ static struct snd_soc_dai_link mt6797_mt6351_dai_links[] = {
152150 .trigger = {SND_SOC_DPCM_TRIGGER_PRE ,
153151 SND_SOC_DPCM_TRIGGER_PRE },
154152 .dynamic = 1 ,
155- .dpcm_playback = 1 ,
156- .dpcm_capture = 1 ,
157153 .ignore_suspend = 1 ,
158154 SND_SOC_DAILINK_REG (hostless_speech ),
159155 },
160156 /* BE */
161157 {
162158 .name = "Primary Codec" ,
163159 .no_pcm = 1 ,
164- .dpcm_playback = 1 ,
165- .dpcm_capture = 1 ,
166160 .ignore_suspend = 1 ,
167161 SND_SOC_DAILINK_REG (primary_codec ),
168162 },
169163 {
170164 .name = "PCM 1" ,
171165 .no_pcm = 1 ,
172- .dpcm_playback = 1 ,
173- .dpcm_capture = 1 ,
174166 .ignore_suspend = 1 ,
175167 SND_SOC_DAILINK_REG (pcm1 ),
176168 },
177169 {
178170 .name = "PCM 2" ,
179171 .no_pcm = 1 ,
180- .dpcm_playback = 1 ,
181- .dpcm_capture = 1 ,
182172 .ignore_suspend = 1 ,
183173 SND_SOC_DAILINK_REG (pcm2 ),
184174 },
0 commit comments