Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit edaf1f1c authored by Chandan Gera's avatar Chandan Gera Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarChandan Gera <cgera@codeaurora.org>
Signed-off-by: default avatarSridhar Gujje <sgujje@codeaurora.org>
parent e5cd01bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment