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

Commit 73a5a5f8 authored by Aravind Kumar's avatar Aravind Kumar Committed by Fred Oh
Browse files

ASoC: msm: qdsp6v2: fix crash issue on playback



Crash is observed on playback in adm open while checking for set
bit. Enumerator takes the size sufficient enough to hold the values
and the set_bit api expects unsigned long and manipulates bits. So
when we pass enum type of variable it crashes. Changing it to
unsigned long fixes the issue.

Change-Id: I22fefed6e719dd95719fd0f1363ba382c94c7de6
Signed-off-by: default avatarAravind Kumar <akumark@codeaurora.org>
parent 0a890bd6
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