usb: host: lpc32xx: balance clk enable/disable on removal
authorVladimir Zapolskiy <vz@mleia.com>
Sat, 17 Oct 2015 19:30:25 +0000 (22:30 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 02:53:53 +0000 (19:53 -0700)
commitb1a0c4239653a9a4fba90e9f3e407c7cb6140f61
tree1c525442f5ca0683e3dc11ea13edc65419ef3046
parent9ae79876d8c9e2ff7d083ad799fcf98488af49b6
usb: host: lpc32xx: balance clk enable/disable on removal

The change adds missing clk_disable_unprepare(usb_otg_clk) call, also
the disabled clocks are sorted in order opposite to enabled clocks.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-nxp.c