Skip to content

Commit dd0ce5f

Browse files
committed
ASoC: rt1320: set wake_capable = 0 explicitly
BIOS may set wake_capable = 1 for Windows. But it should be 0 in Linux as we don't use the wake feature at all in Linux. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent bc653c5 commit dd0ce5f

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
@@ -535,6 +535,9 @@ static int rt1320_read_prop(struct sdw_slave *slave)
535535
/* set the timeout values */
536536
prop->clk_stop_timeout = 64;
537537

538+
/* BIOS may set wake_capable for Windows. But wake_capable is not needed for Linux */
539+
prop->wake_capable = 0;
540+
538541
return 0;
539542
}
540543

0 commit comments

Comments
 (0)