summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-09-03 18:27:38 +0700
committerMark Brown <broonie@kernel.org>2026-10-07 13:12:07 +0200
commit39205bb7ed4fe74f0b5df58d9b6529ac2690303f (patch)
treeffa4a8c2c80dd0af09038d639523eb3ac308e0fc /scripts/Makefile.thinlto
parent56607e11d6188b5b309f911d0a2b8118801db17a (diff)
downloadlinux-39205bb7ed4fe74f0b5df58d9b6529ac2690303f.tar.gz
linux-39205bb7ed4fe74f0b5df58d9b6529ac2690303f.zip
ASoC: rockchip: rockchip_sai: Handle runtime PM resume failures in set_fmt
rockchip_sai_set_fmt() calls pm_runtime_get_sync() before accessing hardware registers, but ignores its return value. If the runtime resume fails, the function continues to perform register accesses while the device state is undefined. Replace pm_runtime_get_sync() with pm_runtime_resume_and_get() and return early on failure to avoid unpowered register accesses. Fixes: cc78d1eaabad ("ASoC: rockchip: add Serial Audio Interface (SAI) driver") Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Link: https://patch.msgid.link/20260903112739.373621-1-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions