]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
serial: qcom-geni: drop bogus runtime pm state update
authorJohan Hovold <johan+linaro@kernel.org>
Thu, 13 Jul 2023 14:57:41 +0000 (16:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Aug 2023 08:22:40 +0000 (10:22 +0200)
commitdc4f6c537f37776a8df10dbfbe94017f031eff65
tree88af50062bd0ef9a22df8e346640bef9996350d1
parent41c487de4cf528e17987be22457814e7c07acf98
serial: qcom-geni: drop bogus runtime pm state update

commit 4dd8752a14ca0303fbdf0a6c68ff65f0a50bd2fa upstream.

The runtime PM state should not be changed by drivers that do not
implement runtime PM even if it happens to work around a bug in PM core.

With the wake irq arming now fixed, drop the bogus runtime PM state
update which left the device in active state (and could potentially
prevent a parent device from suspending).

Fixes: f3974413cf02 ("tty: serial: qcom_geni_serial: Wakeup IRQ cleanup")
Cc: 5.6+ <stable@vger.kernel.org> # 5.6+
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c