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:01 +0000 (13:34 +0200)
commitedb39935c8b19fcd9a8f619d0bc1e9d04594cd2b
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