Skip to content

Commit 927e6be

Browse files
bardliaobroonie
authored andcommitted
ASoC: rt1320: set wake_capable = 0 explicitly
"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 <yung-chuan.liao@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Acked-by: Shuming Fan <shumingf@realtek.com> Link: https://patch.msgid.link/20250305134113.201326-1-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 164b7dd commit 927e6be

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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. Make sure it is 0 as wake events are disabled. */
539+
prop->wake_capable = 0;
540+
538541
return 0;
539542
}
540543

0 commit comments

Comments
 (0)