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

Commit 51abf45c authored by Salah Triki's avatar Salah Triki Committed by Greg Kroah-Hartman
Browse files

staging: dgnc: take a lock when storing value in dgnc_poll_tick



Reads of dgnc_poll_tick are protected by dgnc_poll_lock spinlock, but the write
to dgnc_poll_tick is not. It could theoretically race.

Signed-off-by: default avatarSalah Triki <salah.triki@acm.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6d99d6a3
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