]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: rcar: Don't disable/unprepare clocks on prepare/enable failure
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 31 Aug 2016 09:28:22 +0000 (11:28 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 12 Sep 2016 22:15:09 +0000 (17:15 -0500)
commit3d664b070ccb2b1522174ac36c606f92808a26fa
tree409b1d58078b200821ffc1ec2f1f89ad6591ecd7
parent51afa3cc2ded60884aed3aaac8d8c416e3cf6324
PCI: rcar: Don't disable/unprepare clocks on prepare/enable failure

If clk_prepare_enable() fails, we must not call clk_disable_unprepare() in
the error path.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-rcar.c