commit | 82ad38026b0d74dc3ab9e828932f7fa7c67f4e69 | [log] [tgz] |
---|---|---|
author | Carter Cooper <ccooper@codeaurora.org> | Fri Mar 08 16:09:48 2013 -0700 |
committer | Carter Cooper <ccooper@codeaurora.org> | Fri Mar 15 17:21:23 2013 -0600 |
tree | 7080a68ac1c54458e26e28ac1ca350dc1fe8c099 | |
parent | 909ba9dd8be88bc81e88549dbf4a0bb80e8f065a [diff] |
msm: kgsl: Copy data back to user in case of error In case of an error, copy back any data that KGSL might have changed on purpose. This is to prevent the user from ignoring the error and using the values that were passed in. This means that in error cases, KGSL needs to be mindful and reset certain values (such as a buffer size to 0) before returning the error to the user Change-Id: I9201ce4361c9fd1d6477f18c67f5c651e8408bd2 Signed-off-by: Carter Cooper <ccooper@codeaurora.org>