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

Skip to content
Commit 2e984861 authored by Wang Han's avatar Wang Han Committed by Dyneteve
Browse files

Revert "ALSA: timer: fix NULL pointer dereference in read()/ioctl() race"

The patch "BACKPORT: ALSA: timer: Fix race between read and ioctl" is
picked from kernel_msm, however linux-stable had
cd0365e75073414886d0be26260b1dd00de9863c but Google did not.
Thus, when we picked that, an unbalanced lock occurred.

Fix that by removing depulicate ioctl_lock, or we will see a clear
deadlock as there is another same lock already being held.

This reverts commit cd0365e75073414886d0be26260b1dd00de9863c.

Change-Id: I0c6d13099de9d76cd799f9c00b19ad238c56043d
parent 105b8aa6
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