commit | 473986c5c81169a23f1ebfeef7cc2b2f5aae1273 | [log] [tgz] |
---|---|---|
author | Naseer Ahmed <naseer@codeaurora.org> | Tue Jul 16 12:47:21 2013 -0400 |
committer | Naseer Ahmed <naseer@codeaurora.org> | Tue Jul 16 12:47:21 2013 -0400 |
tree | c3ac136dfa0a586df13a0e3a3667afdd173beb6f | |
parent | 21028318fd3eb2e16126835218f1e1056c7510b3 [diff] |
gralloc: Default to an error value for mapFrameBuffer We do further operations in fb_device_open based on the result of mapFrameBuffer. However, if mapFrameBuffer is never done, we could end up with a random crash when using the info values in fb_device_open. Defaulting to an error value avoids this. Change-Id: I1e51f814611a3f2eb73f36d75e14d8725ca98474