]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] rme9652 - Fix the hw_pointer check
authorTakashi Iwai <tiwai@suse.de>
Wed, 30 May 2007 10:46:21 +0000 (12:46 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 20 Jul 2007 09:11:22 +0000 (11:11 +0200)
commit174fe3b3638c8f57c2e4c64f084e572ff8af3759
tree063e97cef6c888cb161b29d7c9b9db73211876e1
parent7e74470b67a1a6d120b7d0123b7f8113024b779a
[ALSA] rme9652 - Fix the hw_pointer check

The negative check in hw_pointer callback doesn't work because the
value is unsigned.  Cast to int in the comparison to fix this.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/rme9652/rme9652.c