]> git.baikalelectronics.ru Git - kernel.git/commit
phy: ti-pipe3: make clk operations symmetric in probe and remove
authorChuhong Yuan <hslester96@gmail.com>
Wed, 4 Dec 2019 11:47:59 +0000 (19:47 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 20 Dec 2019 11:30:45 +0000 (17:00 +0530)
commitf4256a9298f35ba089637fd770d0396fada3a1c2
tree29e91288111f10ad531181a67d223f55f89d9ee1
parent0b064b068f343d825b91e6cd32403106def045bf
phy: ti-pipe3: make clk operations symmetric in probe and remove

The driver calls clk_prepare_enable in probe but the corresponding
clk_disable_unprepare() is in ti_pipe3_disable_clocks().
Move clk_disable_unprepare() to remove to make them symmetric.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/ti/phy-ti-pipe3.c