]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: gadget: change HIRD threshold to 12
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 09:56:11 +0000 (11:56 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 10:02:31 +0000 (12:02 +0200)
commit21ada6a39f901894e4ab2dee16c7447f3fe4ed0a
tree1189d62e54cf11936948b4b92b18c657e122667a
parentb915d0e069164dc207381326dd2f53d8e460f431
usb: dwc3: gadget: change HIRD threshold to 12

First of all, that 28 value makes no sense as
HIRD threshold is a 4-bit value, second of all
it's causing issues for OMAP5.

Using 12 because commit 07f55c79 (usb: dwc3:
keep default hird threshold value as 4b1100)
had the intention of setting the maximum allowed
value of 0xc.

Also, original code has been wrong forever, so
this should be backported as far back as
possible.

Cc: <stable@vger.kernel.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c