aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-gcd.c
diff options
context:
space:
mode:
authorHaotian Zhang <[email protected]>2025-11-24 01:58:52 +0000
committerMark Brown <[email protected]>2025-11-24 11:31:27 +0000
commita90903c2a3c38bce475f46ea3f93dbf6a9971553 (patch)
treebb4c55c945dae5cf8b05277cfb675657e7bd4e99 /lib/mpi/mpi-gcd.c
parentspi: spi-fsl-lpspi: fix watermark truncation caused by type cast (diff)
downloadkernel-a90903c2a3c38bce475f46ea3f93dbf6a9971553.tar.gz
kernel-a90903c2a3c38bce475f46ea3f93dbf6a9971553.zip
spi: amlogic-spifc-a1: Handle devm_pm_runtime_enable() errors
devm_pm_runtime_enable() can fail due to memory allocation. The current code ignores its return value, potentially causing runtime PM operations to fail silently after autosuspend configuration. Check the return value of devm_pm_runtime_enable() and return on failure. Fixes: 909fac05b926 ("spi: add support for Amlogic A1 SPI Flash Controller") Signed-off-by: Haotian Zhang <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-gcd.c')
0 files changed, 0 insertions, 0 deletions