diff options
author | Grigor Tovmasyan <Grigor.Tovmasyan@synopsys.com> | 2018-02-06 19:07:38 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-25 16:17:40 +0200 |
commit | db81323e6a5d32a93ad7a1a419f99fe141df952e (patch) | |
tree | 04753b603d9a88f12949eb5d1ab90ac00b83fe6f /usr | |
parent | 39280c27031b32639c5757da6e3462ba397df58c (diff) |
usb: dwc2: Fix interval type issue
[ Upstream commit 12814a3f8f9b247531d7863170cc82b3fe4218fd ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions