]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 3 Mar 2013 22:03:33 +0000 (06:03 +0800)
commite3d7ed9c659eebbf83fc20e8c80bb3c58a24028d
treec467d92b43708b8ab25f7e7264ad333dafea9700
parentd7c430bd3285dcdbdbe3c0d71a42b6fde442733e
usb: dwc3: gadget: change HIRD threshold to 12

commit 1a947746dbe1486d0e305ab512ddf085b7874cb3 upstream.

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 cbc725b3 (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.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/gadget.c