usb: Prevent using reserved registers on DM36x usb
authorAndrew Murray <amurray@embedded-bits.co.uk>
Sun, 29 Sep 2013 17:02:22 +0000 (18:02 +0100)
committerTom Rini <trini@ti.com>
Thu, 10 Oct 2013 11:58:00 +0000 (07:58 -0400)
commit99b4eaa68e0e2fdd9b0d0b1d40809d7e8f92044f
tree7c169e484751393a44ca75e84a7401cf54fbf28f
parent7406d321cc7c2dfdd89891f74117f1b2e8db0459
usb: Prevent using reserved registers on DM36x usb

The musb driver defines and uses MUSB_CSR0_H_DIS_PING, however this
bit is reserved on the DM36x. Thus this patch ensures that the
reserved bit is not accesssed.

It has been observed that some USB devices will fail to enumerate
with errors such as 'error in inquiry' without this patch.

See http://www.ti.com/litv/pdf/sprufh9a for details.

Cc: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@ti.com>
Signed-off-by: Andrew Murray <amurray@embedded-bits.co.uk>
Acked-by: Marek Vasut <marex@denx.de>
drivers/usb/musb/musb_hcd.c