5152fbe24ee6865dadad36945399594943adba2f
[openwrt/staging/adrian.git] /
1 From 8124706e6040b1cf0d2dd3a05759df6cec4bddfb Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jonas.gorski@gmail.com>
3 Date: Sun, 16 Jul 2017 12:32:37 +0200
4 Subject: [PATCH V2 3/8] tty/bcm63xx_uart: use refclk for the expected clock
5 name
6
7 We now have the clock available under refclk, so use that.
8
9 Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
11 Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
12 ---
13 drivers/tty/serial/bcm63xx_uart.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 --- a/drivers/tty/serial/bcm63xx_uart.c
17 +++ b/drivers/tty/serial/bcm63xx_uart.c
18 @@ -842,7 +842,7 @@ static int bcm_uart_probe(struct platfor
19 return -ENODEV;
20
21 clk = pdev->dev.of_node ? of_clk_get(pdev->dev.of_node, 0) :
22 - clk_get(&pdev->dev, "periph");
23 + clk_get(&pdev->dev, "refclk");
24 if (IS_ERR(clk))
25 return -ENODEV;
26