mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 03:47:43 +00:00
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 <kubakici@wp.pl> Signed-off-by: Jon Ringle <jringle@gridpoint.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9764e7a0f6
commit
0814e8d5da
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user