diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-08-31 11:28:22 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-09-12 17:15:09 -0500 |
commit | 3d664b070ccb2b1522174ac36c606f92808a26fa (patch) | |
tree | 409b1d58078b200821ffc1ec2f1f89ad6591ecd7 /net/switchdev/switchdev.c | |
parent | 51afa3cc2ded60884aed3aaac8d8c416e3cf6324 (diff) |
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions