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:
Aravind Kumar <akumark@codeaurora.org>
Loading
Please register or sign in to comment