usb: dwc2: Fix interval type issue
authorGrigor Tovmasyan <Grigor.Tovmasyan@synopsys.com>
Tue, 6 Feb 2018 15:07:38 +0000 (19:07 +0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Mar 2018 08:47:45 +0000 (10:47 +0200)
commit12814a3f8f9b247531d7863170cc82b3fe4218fd
treed367192a3f53e688917b1340dc06a3cd931ba46b
parentecd29dabb2ba2e4a29339bf55129fd1058107206
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>
drivers/usb/dwc2/core.h