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)
commitea51d0b164040ad594c1f9c4c6faf23c19c977b9
tree3729a1a8a15e73ef11f6de51c625d8bbf4d4a3fa
parentc0dea82c3c141c33ca22ca85f80e592028840864
ALSA: AACI: no need to call snd_pcm_period_elapsed() for each period

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>
sound/arm/aaci.c