From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:52878 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933643AbcJTN31 (ORCPT ); Thu, 20 Oct 2016 09:29:27 -0400 Subject: Patch "serial: 8250_dw: Check the data->pclk when get apb_pclk" has been added to the 4.7-stable tree To: wangkefeng.wang@huawei.com, andriy.shevchenko@linux.intel.com, gregkh@linuxfoundation.org Cc: , From: Date: Thu, 20 Oct 2016 15:29:23 +0200 Message-ID: <1476970163100179@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 List-ID: This is a note to let you know that I've just added the patch titled serial: 8250_dw: Check the data->pclk when get apb_pclk to the 4.7-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: serial-8250_dw-check-the-data-pclk-when-get-apb_pclk.patch and it can be found in the queue-4.7 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From e16b46f190a22587898b331f9d58583b0b166c9a Mon Sep 17 00:00:00 2001 From: Kefeng Wang Date: Wed, 24 Aug 2016 16:33:33 +0800 Subject: serial: 8250_dw: Check the data->pclk when get apb_pclk From: Kefeng Wang commit e16b46f190a22587898b331f9d58583b0b166c9a upstream. It should check the data->pclk, not data->clk when get apb_pclk. Fixes: c8ed99d4f6a8("serial: 8250_dw: Add support for deferred probing") Signed-off-by: Kefeng Wang Tested-by: Andy Shevchenko Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/8250/8250_dw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c @@ -462,7 +462,7 @@ static int dw8250_probe(struct platform_ } data->pclk = devm_clk_get(&pdev->dev, "apb_pclk"); - if (IS_ERR(data->clk) && PTR_ERR(data->clk) == -EPROBE_DEFER) { + if (IS_ERR(data->pclk) && PTR_ERR(data->pclk) == -EPROBE_DEFER) { err = -EPROBE_DEFER; goto err_clk; } Patches currently in stable-queue which might be from wangkefeng.wang@huawei.com are queue-4.7/serial-8250_dw-check-the-data-pclk-when-get-apb_pclk.patch