Yojana Juadi cf762ff2ee disp: msm: sde: add mutex lock to protect wb_dev
There is null pointer dereference seen due to concurrency
of wb_get_modes from userspace and clearing of writeback
modes in wb_reset. This change acquires mutex lock to provide
exclusive access to wb_dev effectively preventing such
concurrency issues.

Change-Id: Idd38e38696c839f557b94aa9313761d4d7738902
Signed-off-by: Yojana Juadi <quic_yjuadi@quicinc.com>
2023-08-11 11:24:54 +05:30
2021-02-17 09:14:03 -08:00
Description
No description provided
6.8 MiB
Languages
C 99.7%
Makefile 0.2%