Re: [PATCH] hwspinlock: omap: Handle devm_pm_runtime_enable() errors

From: Kevin Hilman

Date: Wed Jan 14 2026 - 17:42:28 EST



On Mon, 24 Nov 2025 18:48:05 +0800, Haotian Zhang wrote:
> Although unlikely, devm_pm_runtime_enable() can fail due to memory
> allocations. Without proper error handling, the subsequent
> pm_runtime_resume_and_get() call may operate on incorrectly
> initialized runtime PM state.
>
> Add error handling to check the return value of
> devm_pm_runtime_enable() and return on failure.
>
> [...]

Applied, thanks!

[1/1] hwspinlock: omap: Handle devm_pm_runtime_enable() errors
commit: 3bd4edd67b034f8e1f61c86e0eb098de6179e3f2

Best regards,
--
Kevin Hilman <khilman@xxxxxxxxxxxx>