Skip to content
Commit eea0579f authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: pcsp - Fix starting the stream with HRTIMER_CB_IRQSAFE_UNLOCK



With the callback mode HRTIMER_CB_IRQSAFE_UNLOCK, the start of the
stream with zero delay doesn't work.  Since IRQSAFE mode is removed,
we have to change the pcsp start-up code.

This patch splits the callback function to two parts, the triggering
of the port and the calculation of the expire time, and the update of
the ALSA PCM core.  The first part is called both from the trigger-start
and the hrtimer callback while the latter is handled only in the
hrtimer callback.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent e7dd8c1b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment