ASoC: rt711-sdca: add DP0 support
DP0 is required for BPT/BRA transport. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Acked-by: Mark Brown <broonie@kernel.org> Tested-by: shumingf@realtek.com Link: https://lore.kernel.org/r/20250227140615.8147-17-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
committed by
Vinod Koul
parent
bb5cb09eed
commit
9452422fc3
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user