Skip to content

Commit 32ac501

Browse files
Srinivas-Kandagatlabroonie
authored andcommitted
ASoC: codecs: wsa881x: set clk_stop_mode1 flag
WSA881x codecs do not retain the state while clock is stopped, so mark this with clk_stop_mode1 flag. Fixes: a0aab9e ("ASoC: codecs: add wsa881x amplifier support") Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent d18ca86 commit 32ac501

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/codecs/wsa881x.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,6 +1155,7 @@ static int wsa881x_probe(struct sdw_slave *pdev,
11551155
pdev->prop.sink_ports = GENMASK(WSA881X_MAX_SWR_PORTS, 0);
11561156
pdev->prop.sink_dpn_prop = wsa_sink_dpn_prop;
11571157
pdev->prop.scp_int1_mask = SDW_SCP_INT1_BUS_CLASH | SDW_SCP_INT1_PARITY;
1158+
pdev->prop.clk_stop_mode1 = true;
11581159
gpiod_direction_output(wsa881x->sd_n, !wsa881x->sd_n_val);
11591160

11601161
wsa881x->regmap = devm_regmap_init_sdw(pdev, &wsa881x_regmap_config);

0 commit comments

Comments
 (0)