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

Skip to content
Commit ff864719 authored by Anish Kumar's avatar Anish Kumar Committed by Vineeta Srivastava
Browse files

hal: fix the reference count for devices during speaker protection

In speaker protection voice call usecase AHAL has two
usecases (VI-RECORD and regular capture) but the
function (check_and_route_capture_usecases) enables and
disables the voice-speaker-mic wrongly as it doesn't see
that the record device is not speaker mic record but
rather vi-record. So it wrongly enables the speaker mic device
which causes mismatch in device reference count.

Change-Id: I981b2e446b4efe4679e21ed5113217dff9ec2a0f
parent 7631557c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment