ALSA: pcm - Reset invalid position even without debug option
authorTakashi Iwai <tiwai@suse.de>
Thu, 19 Mar 2009 09:01:47 +0000 (10:01 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Mar 2009 09:01:47 +0000 (10:01 +0100)
Always reset the invalind hw_ptr position returned by the pointer
callback.  The behavior should be consitent independently from the
debug option.

Also, add the printk_ratelimit() check to avoid flooding debug
prints.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found