Commit 400f60b2 authored by Chandra Mohan Sundar's avatar Chandra Mohan Sundar Committed by Takashi Iwai
Browse files

ALSA: cs4281: Send the PCM period elapsed notification properly



As part of spin lock code cleanup using guard(), a new
variable (period_elapsed) was introduced. However this variable
is never set, causing period elapsed notification to be not sent.

Set the value of period_elapsed appropiately.

This issue was reported by static coverity analyzer.

Fixes: 7a5127c2 ("ALSA: cs4281: Use guard() for spin locks")
Signed-off-by: default avatarChandra Mohan Sundar <chandramohan.explore@gmail.com>
Link: https://patch.msgid.link/20250906162158.564899-1-chandramohan.explore@gmail.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a73349c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment