summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorGrigor Tovmasyan <Grigor.Tovmasyan@synopsys.com>2018-02-06 16:07:38 +0100
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-03-13 09:47:45 +0100
commit12814a3f8f9b247531d7863170cc82b3fe4218fd (patch)
treed367192a3f53e688917b1340dc06a3cd931ba46b /drivers/usb/gadget
parentusb: dwc2: pci: Handle error cleanup in probe (diff)
downloadlinux-12814a3f8f9b247531d7863170cc82b3fe4218fd.tar.xz
linux-12814a3f8f9b247531d7863170cc82b3fe4218fd.zip
usb: dwc2: Fix interval type issue
The maximum value that unsigned char can hold is 255, meanwhile the maximum value of interval is 2^(bIntervalMax-1)=2^15. Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions