]> err.no Git - linux-2.6/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)
commit304e3bb7a15d839cef64b24a1bcc1230b2ae6fa6
tree063e97cef6c888cb161b29d7c9b9db73211876e1
parentba8c3c37db0d6bf5e6de25016975ebfb558d2aba
[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