OSS: dmabuf: fix negative DMAbuf_get_buffer_pointer() check
authorRoel Kluin <12o3l@tiscali.nl>
Fri, 18 Apr 2008 10:25:41 +0000 (12:25 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:39 +0000 (12:00 +0200)
commit0d52cea487c0213d6d7bca9c951210081e7b653b
tree86084e64ed325a7b9dd6362874d92336a86eff27
parente34ba212225a27cdf5f974be22cc539ae7ee7ca5
OSS: dmabuf: fix negative DMAbuf_get_buffer_pointer() check

Since unsigned active_offs < 0 is even true when DMAbuf_get_buffer_pointer()
returns negative

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/dmabuf.c