From feab2596e7473dea4adebc2d9f1dd9f8e0f2ea5d Mon Sep 17 00:00:00 2001 From: Bard Liao Date: Fri, 23 Aug 2024 20:36:56 +0800 Subject: [PATCH] ASoC: rt722: use sdw_slave_read_prop to get properties Call sdw_slave_read_prop to get SoundWire Peripheral properties. Signed-off-by: Bard Liao --- sound/soc/codecs/rt722-sdca-sdw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/rt722-sdca-sdw.c b/sound/soc/codecs/rt722-sdca-sdw.c index 87354bb1564e8d..0c9a9ab5db16d6 100644 --- a/sound/soc/codecs/rt722-sdca-sdw.c +++ b/sound/soc/codecs/rt722-sdca-sdw.c @@ -203,6 +203,8 @@ static int rt722_sdca_read_prop(struct sdw_slave *slave) unsigned long addr; struct sdw_dpn_prop *dpn; + sdw_slave_read_prop(slave); + prop->scp_int1_mask = SDW_SCP_INT1_BUS_CLASH | SDW_SCP_INT1_PARITY; prop->quirks = SDW_SLAVE_QUIRKS_INVALID_INITIAL_PARITY;