USB: otg/ulpi: improve ulpi phy detection.
authorIgor Grinberg <grinberg@compulab.co.il>
Sun, 10 Oct 2010 15:59:18 +0000 (17:59 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:22:10 +0000 (10:22 -0700)
commita9138192d0e716c3e9714b3fe03543d93ebbad9f
tree9846352e032cf59df136953f1fb36d27839af9b1
parentc6f694af8318a526c639306d9d07ee33cb7c168a
USB: otg/ulpi: improve ulpi phy detection.

Improve ulpi phy detection by utilizing the "scratch" register.
Allow unknown ulpi phy work without the need to hard-code the id.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/otg/ulpi.c