ALSA: mips: Use SNDRV_PCM_INFO_SYNC_APPLPTR info flag
authorTakashi Iwai <tiwai@suse.de>
Sun, 2 Sep 2018 08:22:37 +0000 (10:22 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 Sep 2018 10:13:27 +0000 (12:13 +0200)
commitdc0d1c4519095a6c6bbd9ec4a808674aba502741
tree356914555db5d280f7ffdf61a828f5aa23b75371
parent38ce57ad164816b432b80feb67d46d53137ff82a
ALSA: mips: Use SNDRV_PCM_INFO_SYNC_APPLPTR info flag

The recently introduced PCM info flag assures the call of ack ops at
each applptr change, and this is mandatory for the indirect PCM
helpers.

Also, with the proper ack callback, we need no longer prefill at
trigger start.  The relevant code can be killed.

Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/mips/hal2.c