aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/phy/ti-phy.txt
diff options
context:
space:
mode:
authorChuansheng Liu <chuansheng.liu@intel.com>2014-03-04 15:34:57 +0800
committerFelipe Balbi <balbi@ti.com>2014-03-07 10:03:25 -0600
commitcfe919b53b807ab32e89e1c662c6d242948449bd (patch)
treedee085b60f958e3ca72ce924ce2a46ac246a82a5 /Documentation/devicetree/bindings/phy/ti-phy.txt
parentusb: phy: fsm: update OTG HNP state transition conditions according to OTG and EH 2.0 spec. (diff)
downloadlinux-dev-cfe919b53b807ab32e89e1c662c6d242948449bd.tar.xz
linux-dev-cfe919b53b807ab32e89e1c662c6d242948449bd.zip
usb: gadget: return the right length in ffs_epfile_io()
When the request length is aligned to maxpacketsize, sometimes the return length ret > the user space requested len. At that time, we will use min_t(size_t, ret, len) to limit the size in case of user data buffer overflow. But we need return the min_t(size_t, ret, len) to tell the user space rightly also. [ balbi@ti.com: also fix comment's indentation ] Acked-by: Michal Nazarewicz <mina86@mina86.com> Reviewed-by: David Cohen <david.a.cohen@linux.intel.com> Signed-off-by: Chuansheng Liu <chuansheng.liu@intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'Documentation/devicetree/bindings/phy/ti-phy.txt')
0 files changed, 0 insertions, 0 deletions