patch "serial: ifx6x60: add missed pm_runtime_disable" added to tty-next
Subsystems (2)
This is a note to let you know that I've just added the patch titled
serial: ifx6x60: add missed pm_runtime_disable
to my tty git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
in the tty-next branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release during the merge window.
If you have any questions about this process, please let me know.
From 50b2b571c5f3df721fc81bf9a12c521dfbe019ba Mon Sep 17 00:00:00 2001
From: Chuhong Yuan <[email protected]>
Date: Mon, 18 Nov 2019 10:48:33 +0800
Subject: serial: ifx6x60: add missed pm_runtime_disable
The driver forgets to call pm_runtime_disable in remove. Add the missed calls to fix it.
--- drivers/tty/serial/ifx6x60.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/tty/serial/ifx6x60.c +3 -0
@@ -1230,6 +1230,9 @@ static int ifx_spi_spi_remove(struct spi_device *spi)struct ifx_spi_device *ifx_dev =spi_get_drvdata (spi);/* stop activity */ tasklet_kill (&ifx_dev->io_work_tasklet); + +pm_runtime_disable (&spi->dev); +/* free irq */ free_irq (gpio_to_irq (ifx_dev->gpio.reset_out), ifx_dev);free_irq (gpio_to_irq (ifx_dev->gpio.srdy), ifx_dev);
Signature · 1 line
2.24.0