]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: rt1320: set wake_capable = 0 explicitly
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 5 Mar 2025 13:41:13 +0000 (21:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:30 +0000 (14:39 +0200)
commit56e6d4a8877ff6701d83e75f194f016ef8574308
treee538cf363d350b40b98825001b2281a8c4db785e
parentf8dfd7c50170cdf68183f73ecb3a3e87a9837081
ASoC: rt1320: set wake_capable = 0 explicitly

[ Upstream commit 927e6bec5cf3624665b0a2e9f64a1d32f3d22cdd ]

"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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/rt1320-sdw.c