* Patch "serial: 8250_dw: Check the data->pclk when get apb_pclk" has been added to the 4.8-stable tree
@ 2016-10-20 13:30 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2016-10-20 13:30 UTC (permalink / raw)
To: wangkefeng.wang, andriy.shevchenko, gregkh; +Cc: stable, stable-commits
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.8-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.8 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From e16b46f190a22587898b331f9d58583b0b166c9a Mon Sep 17 00:00:00 2001
From: Kefeng Wang <wangkefeng.wang@huawei.com>
Date: Wed, 24 Aug 2016 16:33:33 +0800
Subject: serial: 8250_dw: Check the data->pclk when get apb_pclk
From: Kefeng Wang <wangkefeng.wang@huawei.com>
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 <wangkefeng.wang@huawei.com>
Tested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
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.8/serial-8250_dw-check-the-data-pclk-when-get-apb_pclk.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-20 13:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-20 13:30 Patch "serial: 8250_dw: Check the data->pclk when get apb_pclk" has been added to the 4.8-stable tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).