Skip to content
Unverified Commit a6fc5c5b authored by Charles Keepax's avatar Charles Keepax Committed by Mark Brown
Browse files

spi: cs42l43: Handle error from devm_pm_runtime_enable()



As it devm_pm_runtime_enable() can fail due to memory allocations, it
is best to handle the error.

Suggested-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://msgid.link/r/20240125103426.2622549-1-ckeepax@opensource.cirrus.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4f38ae22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment