Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85928C432C0 for ; Mon, 18 Nov 2019 11:47:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B6A7620748 for ; Mon, 18 Nov 2019 11:47:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574077677; bh=52e4ewsPg2TPvng45INAYCULu1l3YwABXslnVsPRccg=; h=Subject:To:From:Date:List-ID:From; b=b+FSQKPAE2G2opPdfLSxhwWxz06/bXoPqrczx3KzwbKTbGSfpvUDP83AZjpjwYekU p0NiIZ8yz38LKpQ+DPH/VwhmTeEYV7MFi4e4IANRcOPimzQAPTgWmM/V2J0uIuYOqC dW/AkJsCcuKhz4gOKdZb+UkEW8Jd6/0yRb/us6Tw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726464AbfKRLr4 (ORCPT ); Mon, 18 Nov 2019 06:47:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:55362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726460AbfKRLr4 (ORCPT ); Mon, 18 Nov 2019 06:47:56 -0500 Received: from localhost (unknown [89.205.134.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C3C9E20748; Mon, 18 Nov 2019 11:47:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574077673; bh=52e4ewsPg2TPvng45INAYCULu1l3YwABXslnVsPRccg=; h=Subject:To:From:Date:From; b=c350igMRPuuuukyxir3WWyNRrGPMfzTKyOg3pVeCEfQWFlFXN9NGL2DL5SThjyyfY DW0a5fWv5QE9cvAH049DHJ7OF1ukQ2fCGmpz6Vur+uXiJGbGOxKv6NF2YTZQLZykGe 4KuwRtflq+yw5X9pU/AGqzULH5Zj9Nkmm0x7Z1qs= Subject: patch "serial: ifx6x60: add missed pm_runtime_disable" added to tty-testing To: hslester96@gmail.com, gregkh@linuxfoundation.org, stable@vger.kernel.org From: Date: Mon, 18 Nov 2019 12:47:42 +0100 Message-ID: <1574077662353@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org 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-testing 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 be merged to the tty-next branch sometime soon, after it passes testing, and the merge window is open. If you have any questions about this process, please let me know. From 50b2b571c5f3df721fc81bf9a12c521dfbe019ba Mon Sep 17 00:00:00 2001 From: Chuhong Yuan 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. Signed-off-by: Chuhong Yuan Cc: stable Link: https://lore.kernel.org/r/20191118024833.21587-1-hslester96@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/ifx6x60.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/tty/serial/ifx6x60.c b/drivers/tty/serial/ifx6x60.c index ffefd218761e..31033d517e82 100644 --- a/drivers/tty/serial/ifx6x60.c +++ b/drivers/tty/serial/ifx6x60.c @@ -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); -- 2.24.0