ALSA: AACI: no need to call snd_pcm_period_elapsed() for each period
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 13 Jan 2011 08:47:35 +0000 (08:47 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 26 Jan 2011 20:24:12 +0000 (20:24 +0000)
There is no need to call snd_pcm_period_elapsed() each time a period
elapses - we can call it after we're done once loading/unloading the
FIFO with data.  ALSA works out how many periods have elapsed by
reading the current pointers.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found