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

Commit 6add7233 authored by Laxminath Kasam's avatar Laxminath Kasam
Browse files

ASoC: Fix freed memory access of pcm stream kctl



Consider sound card instantiate fails due to
audrx init failure. In such case, all dais/ctls
are de-registered and freed. But as part of it,
access to unregistered ctls for pcm_chmap and similar
controls result in crash.  Ctls are freed at disconnection
but the disconnect is called only when it was registered.

CRs-Fixed: 1038054
Change-Id: Ief8817b4ec000c058d46aa021977b7c6003c0011
Signed-off-by: default avatarLaxminath Kasam <lkasam@codeaurora.org>
parent beb1eeec
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