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

Skip to content
Commit e953b653 authored by Divya Ojha's avatar Divya Ojha Committed by Gerrit - the friendly Code Review server
Browse files

drivers: qcom: ultrasound: check concurrent device open operations



Make opened device count atomic variable to avoid probable race
condition. Race condition leads to memory leak and list corruption.

Change-Id: I4da98f27d36f616bc8fa7b1a848c20cc7eea04e5
Signed-off-by: default avatarDivya Ojha <dojha@codeaurora.org>
parent 8a454077
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