OSDN Git Service

ALSA: info: Protect list access of new entry
authorLaxminath Kasam <lkasam@codeaurora.org>
Wed, 5 Jul 2017 11:24:13 +0000 (16:54 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Wed, 6 Sep 2017 07:08:30 +0000 (00:08 -0700)
commitfaf60ba74f044e8cd61d0cd07aa94791d268654a
tree477dcac7da4643bd0bbbaa9d460b8528edeece8a
parente91bfdb17610ab3e8ae912a2844ba9e5be2afe87
ALSA: info: Protect list access of new entry

At bootup, two different contexts access same list
result in crash. Add mutex lock protect around list access.

CRs-Fixed: 2060390
Change-Id: I648db0a96c507c7e3ad9a5bb7d59021ebf86b27e
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
sound/core/info.c