Skip to content
Snippets Groups Projects
Commit 23e0d106 authored by Sarah Sharp's avatar Sarah Sharp
Browse files

usb: Refactor irq enabling out of usb_add_hcd()


Refactor out the code in usb_add_hcd() to request the IRQ line for the
HCD.  This will only need to be called once for the two xHCI roothubs, so
it's easier to refactor it into a function, rather than wrapping the long
if-else block into another if statement.

Signed-off-by: default avatarSarah Sharp <sarah.a.sharp@linux.intel.com>
parent 8766c815
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.
Please register or to comment