Skip to content

Commit 25c7975

Browse files
bardliaosmb49
authored andcommitted
ASoC: rt1320: set wake_capable = 0 explicitly
BugLink: https://bugs.launchpad.net/bugs/2110173 [ Upstream commit 927e6be ] "generic_new_peripheral_assigned: invalid dev_num 1, wake supported 1" is reported by our internal CI test. Rt1320's wake feature is not used in Linux and that's why it is not in the wake_capable_list[] list in intel_auxdevice.c. However, BIOS may set it as wake-capable. Overwrite wake_capable to 0 in the codec driver to align with wake_capable_list[]. Signed-off-by: Bard Liao <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Acked-by: Shuming Fan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Noah Wager <[email protected]> Signed-off-by: Stefan Bader <[email protected]>
1 parent d757e30 commit 25c7975

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sound/soc/codecs/rt1320-sdw.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1660,6 +1660,9 @@ static int rt1320_read_prop(struct sdw_slave *slave)
16601660
/* set the timeout values */
16611661
prop->clk_stop_timeout = 64;
16621662

1663+
/* BIOS may set wake_capable. Make sure it is 0 as wake events are disabled. */
1664+
prop->wake_capable = 0;
1665+
16631666
return 0;
16641667
}
16651668

0 commit comments

Comments
 (0)