ALSA: hda-intel - fix wallclk variable update and condition
authorJaroslav Kysela <perex@perex.cz>
Wed, 2 Jun 2010 11:29:17 +0000 (13:29 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 2 Jun 2010 11:34:18 +0000 (13:34 +0200)
commit8fc6d4186e0a60b3755a6b88bf67a3ac3214dcc3
treeebfb9581a66a2aa02cd9f0f8dd97800b3b6ed29d
parentaef4b9aaae1decc775778903922bd0075cce7a88
ALSA: hda-intel - fix wallclk variable update and condition

This patch fixes thinko introduced in "last minutes" before commiting
of the last wallclk patch.

It also fixes the condition checking if the first period after last
wallclk update is processed. There is a little rounding error in
period_wallclk.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/hda_intel.c