usb: ehci-pci: Clarify and cleanup the EHCI controller detection
authorMarek Vasut <marex@denx.de>
Fri, 13 Dec 2013 22:36:33 +0000 (23:36 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 18 Dec 2013 18:53:19 +0000 (19:53 +0100)
commit8fb83547b93cd30a803eca1fec005b3d2b86a21f
treebd913ca6382af133acc6ef55e456a22766d95dc4
parent3990994c43e3abb05c0127d19ef67d7abde3c1b7
usb: ehci-pci: Clarify and cleanup the EHCI controller detection

The detection function of the EHCI PCI controller was really cryptic,
add a beefy comment and clean the portion of the code up a bit. No
change in the logic of the code.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
drivers/usb/host/ehci-pci.c