commit | a248cc47120089459c4c7fef94f242fc9666479d | [log] [tgz] |
---|---|---|
author | Chandan Gera <cgera@codeaurora.org> | Tue Oct 09 15:42:01 2018 +0530 |
committer | Sridhar Gujje <sgujje@codeaurora.org> | Wed Nov 14 16:09:28 2018 +0530 |
tree | ecd22a3f0fa751ee157e9c91833a433d4b62acaf | |
parent | 20c475a33765dbc914856e039c39fc67e11845e6 [diff] |
msm: camera: Fix Dev contect issue on 32bit Kernel LRME Driver context is derived using a 32bit shift. 32bit shift was leading to overflow on 32bit kernel as context was stored in 32bit variable. To resolve this we are storing device context on second byte of the varaible and doing a shift by 16. Change-Id: I9f6c013059947342068c14a1ceaa1b59fc0d1264 Signed-off-by: Chandan Gera <cgera@codeaurora.org> Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>