Commit a8bf3395 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Matt Davis
Browse files

FROMGIT: ASoC: cs42l43: convert to SYSTEM_SLEEP_PM_OPS

The custom suspend function causes a build warning when CONFIG_PM_SLEEP
is disabled:

sound/soc/codecs/cs42l43.c:2405:12: error: unused function 'cs42l43_codec_runtime_force_suspend' [-Werror,-Wunused-function]

Change SET_SYSTEM_SLEEP_PM_OPS() to the newer SYSTEM_SLEEP_PM_OPS(),
to avoid this.

(cherry picked from commit d543be262251f2a844dfc06e22070a27c067c926 https://github.com/CirrusLogic/linux-drivers

 v6.12-cs42l43-cs35l56)
Fixes: 164b7dd4 ("ASoC: cs42l43: Add jack delay debounce after suspend")
Change-Id: Iec4e44f5e19526a0523ca01977031750348ea912
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarMaciej Strozek <mstrozek@opensource.cirrus.com>
Reviewed-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250305172738.3437513-1-arnd@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarTongtong Pan <pantongtong@huaqin.corp-partner.google.com>
parent 56e55693
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment