Skip to content

Commit

Permalink
ASoC: rt711-sdca: add DP0 support
Browse files Browse the repository at this point in the history
DP0 is required for BPT/BRA transport.

Signed-off-by: Pierre-Louis Bossart <[email protected]>
  • Loading branch information
plbossart committed Jan 8, 2024
1 parent 502611a commit 50aee9a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sound/soc/codecs/rt711-sdca-sdw.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,14 @@ static int rt711_sdca_read_prop(struct sdw_slave *slave)
j++;
}

prop->dp0_prop = devm_kzalloc(&slave->dev, sizeof(*prop->dp0_prop),
GFP_KERNEL);
if (!prop->dp0_prop)
return -ENOMEM;

prop->dp0_prop->simple_ch_prep_sm = true;
prop->dp0_prop->ch_prep_timeout = 10;

/* set the timeout values */
prop->clk_stop_timeout = 700;

Expand Down

0 comments on commit 50aee9a

Please sign in to comment.