android_kernel_xiaomi_sm7250/sound/drivers/pcsp
Takashi Iwai eea0579fc8 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: Takashi Iwai <tiwai@suse.de>
2008-11-26 14:13:03 +01:00
..
Makefile [ALSA] Add PC-speaker sound driver 2008-04-24 12:00:20 +02:00
pcsp_input.c ALSA: Fix PIT lockup on some chipsets when using the PC-Speaker 2008-11-03 08:57:25 +01:00
pcsp_input.h [ALSA] Add PC-speaker sound driver 2008-04-24 12:00:20 +02:00
pcsp_lib.c ALSA: pcsp - Fix starting the stream with HRTIMER_CB_IRQSAFE_UNLOCK 2008-11-26 14:13:03 +01:00
pcsp_mixer.c [ALSA] snd-pcsp - fix pcsp_treble_info() to honour an item number 2008-05-25 18:21:10 +02:00
pcsp.c ALSA: pcsp - Use HRTIMER_CB_IRQSAFE_UNLOCKED 2008-11-14 13:58:43 +01:00
pcsp.h ALSA: pcsp - Fix starting the stream with HRTIMER_CB_IRQSAFE_UNLOCK 2008-11-26 14:13:03 +01:00