Skip to contentSkip to conversation

Patch "serial: 8250_dw: Check the data->pclk when get apb_pclk" has been added to the 4.7-stable tree

PATCH [email protected] 1 participant 1 message Oct 20, 2016

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

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 <[email protected]> know about it.

Quoted 1 line

From e16b46f190a22587898b331f9d58583b0b166c9a Mon Sep 17 00:00:00 2001

From: Kefeng Wang <[email protected]>
Date: Wed, 24 Aug 2016 16:33:33 +0800
Subject: serial: 8250_dw: Check the data->pclk when get apb_pclk

From: Kefeng Wang <[email protected]>

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")
---
 drivers/tty/serial/8250/8250_dw.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/8250/8250_dw.c +1 -1
@@ -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 [email protected] are

queue-4.7/serial-8250_dw-check-the-data-pclk-when-get-apb_pclk.patch