]> git.ipfire.org Git - thirdparty/linux.git/commit
slimbus: core: fix runtime PM imbalance on report present
authorJohan Hovold <johan@kernel.org>
Wed, 26 Nov 2025 14:53:25 +0000 (15:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Jan 2026 15:43:04 +0000 (16:43 +0100)
commit0eb4ff6596114aabba1070a66afa2c2f5593739f
treeef1107a4410eb3d36392c528c6aa93d288bc86b0
parent0b52edaeb5c2ae9d9d25476554671014d2a1057b
slimbus: core: fix runtime PM imbalance on report present

Make sure to balance the runtime PM usage count in case slimbus device
or address allocation fails on report present, which would otherwise
prevent the controller from suspending.

Fixes: 4b14e62ad3c9 ("slimbus: Add support for 'clock-pause' feature")
Cc: stable@vger.kernel.org # 4.16
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20251126145329.5022-3-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/slimbus/core.c