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

Commit ac62c5e0 authored by Divya Ojha's avatar Divya Ojha Committed by Banajit Goswami
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 b8841c42
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