commit | dc27c4f04913fc18aed83696495beacf9d3746cf | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Thu Jul 05 00:57:48 2018 +0100 |
committer | Marek Vasut <marex@denx.de> | Thu Jul 05 11:25:50 2018 +0200 |
tree | 8d4d62f1eb006b83edc58370778b0d142d762d3d | |
parent | 80447007d345310a8f63ff08e5a34550779a9837 [diff] |
sunxi: A64: OHCI: prevent turning off shared USB clock On the A64 the clock for the first USB controller is actually the parent of the clock for the second controller, so turning them off in that order makes the system hang. Fix this by only turning off *both* clocks when the *last* OHCI controller is brought down. This covers the case when only one controller is used. Signed-off-by: Andre Przywara <andre.przywara@arm.com>