Skip to content

Commit 9452422

Browse files
plbossartvinodkoul
authored andcommitted
ASoC: rt711-sdca: add DP0 support
DP0 is required for BPT/BRA transport. Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Bard Liao <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Reviewed-by: Liam Girdwood <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Acked-by: Mark Brown <[email protected]> Tested-by: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent bb5cb09 commit 9452422

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sound/soc/codecs/rt711-sdca-sdw.c

+8
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,14 @@ static int rt711_sdca_read_prop(struct sdw_slave *slave)
225225
j++;
226226
}
227227

228+
prop->dp0_prop = devm_kzalloc(&slave->dev, sizeof(*prop->dp0_prop),
229+
GFP_KERNEL);
230+
if (!prop->dp0_prop)
231+
return -ENOMEM;
232+
233+
prop->dp0_prop->simple_ch_prep_sm = true;
234+
prop->dp0_prop->ch_prep_timeout = 10;
235+
228236
/* set the timeout values */
229237
prop->clk_stop_timeout = 700;
230238

0 commit comments

Comments
 (0)