commit | bab0d845869c16c79b7655680ce806fc4a96b700 | [log] [tgz] |
---|---|---|
author | Siena Richard <sienar@codeaurora.org> | Thu Apr 27 14:16:44 2017 +0800 |
committer | Jeron Susan <jeron.susan@hi-p.com> | Thu Apr 27 14:16:49 2017 +0800 |
tree | 1eda194733551d03bc75cfbf0cf8dea63bc35e7a | |
parent | 4fb13f55e62d5217964e28b473b189c2396645da [diff] |
ASoC: msm: qdsp6v2: return error when copy from userspace fails A copy_from_user is not always expected to succeed. Therefore, check for an error before operating on the buffer post copy. Change-Id: Ibba9a47c84e735d30e32eeac5b80d51044b7a9e8 CRs-Fixed: 1094852 Signed-off-by: Siena Richard <sienar@codeaurora.org> FPIIM-702 Change-Id: I45746b8e3c9b66eaca31641379bae64d5dced7df