commit | 7fcc7799af7ace4c4eda229b0eac6448f98d6637 | [log] [tgz] |
---|---|---|
author | Pavankumar Kondeti <pkondeti@codeaurora.org> | Fri Dec 28 17:15:41 2012 +0530 |
committer | Pavankumar Kondeti <pkondeti@codeaurora.org> | Tue Jan 08 09:53:14 2013 +0530 |
tree | 2e881d5c190f23c791fad715e9d9f7da00dde861 | |
parent | 8c226baaf10d7a29339e2b867c65beccc88249c0 [diff] |
usb: ks_bridge: Limit write size to 16KB The user space application writes in 1MB chunks while loading MDM images. The current code allocate as many bytes as user space passed to write system call. These allocations are failing under memory fragmentation scenario. Hence limit write size to 16KB. CRs-Fixed: 434638 Change-Id: Ibfad0f13c1fb2c30342d2435114001c580143292 Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>