Skip to content
Snippets Groups Projects
Commit 0bc846a7 authored by Andre Przywara's avatar Andre Przywara Committed by Marek Vasut
Browse files

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: default avatarAndre Przywara <andre.przywara@arm.com>
parent ff5d5cc2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment