USB: ehci: report Data Buffer Error in debug mode
authorVikram Pandita <vikram.pandita@ti.com>
Sun, 30 Oct 2011 19:55:09 +0000 (12:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Nov 2011 00:46:07 +0000 (16:46 -0800)
commit332960bd7eb48ef21923b4876e7fe3487d6bf11c
tree0f41733ceaa5b21dc369fde8a5e26434b93abb81
parent4b6181caa411ccb91ff4aad10b83d62d5a0464d3
USB: ehci: report Data Buffer Error in debug mode

Data Buffer Error as per spec section 4.15.1.1.2
results when there is Underrun or Overrun condition.

This error is considered non-fatal and never gets reported.
Its a very good indication on things going wrong at system level,
like running memory at much slower speed.

This is a good error to flag allowing system level corrections.

An issue was found with OMAP4460 board where DDR had to be run
at full speed and this logging helped.

Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-q.c