]> 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)
commit7f1d3c2063884655d8ca9e763a81e4287dd8e99b
tree1189d62e54cf11936948b4b92b18c657e122667a
parent4e499916a3b1f85efbac97993e93b70e0f815c2f
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 e4abae61 (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