diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2018-04-24 04:52:46 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-05-15 09:14:56 +0200 |
commit | 288ee3c36255d0c2d32830313f527e1474a09e9f (patch) | |
tree | 80dba1252048d316f6102c196c81d13aa3e0b4bd /samples/uhid | |
parent | usb: phy: simplify getting .drvdata (diff) | |
download | linux-288ee3c36255d0c2d32830313f527e1474a09e9f.tar.xz linux-288ee3c36255d0c2d32830313f527e1474a09e9f.zip |
usb: mtu3: avoid TX data length truncated in SS/SSP mode
The variable of 'count' is declared as u8, this will cause an issue
due to value truncated when works in SS or SSP mode and data length
is greater than 255, so change it as u32.
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'samples/uhid')
0 files changed, 0 insertions, 0 deletions