OSDN Git Service

usb: dwc3: gadget: Remove FS bInterval_m1 limitation
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Thu, 15 Apr 2021 07:41:58 +0000 (00:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Apr 2021 09:04:24 +0000 (11:04 +0200)
commit3232a3ce55edfc0d7f8904543b4088a5339c2b2b
treefbb2a44cff765a083db980bd98a49f42bce3d26c
parent5951b7c20f1121d94cd8a3ef102b63863c955025
usb: dwc3: gadget: Remove FS bInterval_m1 limitation

The programming guide incorrectly stated that the DCFG.bInterval_m1 must
be set to 0 when operating in fullspeed. There's no such limitation for
all IPs. See DWC_usb3x programming guide section 3.2.2.1.

Fixes: a1679af85b2a ("usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1")
Cc: <stable@vger.kernel.org>
Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/5d4139ae89d810eb0a2d8577fb096fc88e87bfab.1618472454.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/gadget.c