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

Commit c47fd2f6 authored by Puneet Yatnal's avatar Puneet Yatnal Committed by Gerrit - the friendly Code Review server
Browse files

drivers: iio: imu: Add mutex lock to ensure proper iio buffer access



Add mutex lock in writing data to iio buffer to avoid iio buffer
access by other api which resulting in null pointer dereference.

Change-Id: I336a9358ff1bd2352d41e633a5a0629026596fa6
Signed-off-by: default avatarPuneet Yatnal <puneet@codeaurora.org>
parent c1fa8e11
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