From: Jakub Kicinski Date: Mon, 16 Mar 2015 23:28:49 +0000 (+0100) Subject: sc16is7xx: enable the clock X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0814e8d5da2b6f25088fe28d5e23f511d8441883;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git sc16is7xx: enable the clock Although clk_disable_unprepare() is called both on .remove() and in .probe() error path, the clock is never actually enabled. Signed-off-by: Jakub Kicinski Signed-off-by: Jon Ringle Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index e6b396e584f3..36b3c266925d 100644 --- a/drivers/tty/serial/sc16is7xx.c +++ b/drivers/tty/serial/sc16is7xx.c @@ -1050,6 +1050,7 @@ static int sc16is7xx_probe(struct device *dev, else return PTR_ERR(s->clk); } else { + clk_prepare_enable(s->clk); freq = clk_get_rate(s->clk); }