musb: distinguish between low- and full- speed devices
authorPaul Fertser <fercerpav@gmail.com>
Sun, 31 Oct 2010 12:01:33 +0000 (15:01 +0300)
committerPaul Fertser <fercerpav@gmail.com>
Sun, 31 Oct 2010 12:01:33 +0000 (15:01 +0300)
commit83792b52b05f5e76fb9f3cf3d2d279f90d9e598e
tree9bb32417efd7fecfc0c73d5ee9264ba917c0e1ef
parentbb4e8f662063e5d87c0c5de116888f5e2a4de520
musb: distinguish between low- and full- speed devices

This makes use of ISP1707 DEBUG register to evaluate the state of the D-
and D+ lines; depending on the pulluped up line the driver learns
if the connected device is low or full speed.
drivers/usb/musb/musb_procfs.c
drivers/usb/musb/omap2430.c