USB: isp1760: Add a delay before reading the SKIPMAP registers in isp1760-hcd.c
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 23 Mar 2009 12:38:16 +0000 (12:38 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:46 +0000 (16:20 -0700)
commite6bdfe36e52f0e552b50acf49a82851eeb122fde
tree42dcc7d86734cb10a9f8010ceb9ec4f54698229d
parentb7af0bb26899bb47ae16fb41d2296111b0784a56
USB: isp1760: Add a delay before reading the SKIPMAP registers in isp1760-hcd.c

The data read from the SKIPMAP registers is not immediately available
after writing and the driver panics when a packet is enqueued from the
interrupt handler. This patch adds an ndelay(195) before these registers
are read (delay value mentioned in section 15.1.1.3 of the ISP1760 data
sheet).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/isp1760-hcd.c