]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: SDCA: Handle CONFIG_PM_SLEEP not being set
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 15 Jan 2026 14:11:06 +0000 (14:11 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 15 Jan 2026 18:58:24 +0000 (18:58 +0000)
commit7a3d1b04d938f31e112fe09c0ffc1af830ba1f6d
treea99a0977e670aee810583bd4c919a431e7f0455d
parent60e8451be1f7af4b51540f2cfd65c9c85af752e9
ASoC: SDCA: Handle CONFIG_PM_SLEEP not being set

If CONFIG_PM_SLEEP is not set the completion used will not exist. Update
the code to avoid the build error this introduces, without PM_SLEEP it
should be safe to always run the conditional code.

Fixes: ffd7e8a10111 ("ASoC: SDCA: Device boot into the system suspend process")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202601151803.XY7KryHC-lkp@intel.com/
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260115141107.564929-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdca/sdca_interrupts.c