]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb54ffc242fd4a75b2fc92b5a5f478bb1e22d860f
treefbb2a44cff765a083db980bd98a49f42bce3d26c
parentf687212e6f622a1212fcdc37491b536fa14cd333
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: 8dc266b0eec6 ("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