aboutsummaryrefslogtreecommitdiff
path: root/sound/pci/lx6464es/lx_core.c
diff options
context:
space:
mode:
authorTim Blechmann <tim@klingt.org>2010-10-31 19:46:19 +0100
committerTakashi Iwai <tiwai@suse.de>2010-11-01 10:28:35 +0100
commitf7467452291f7c9e5e1271e8c8e45b77f34b1257 (patch)
treedb99575320a7a25d8165fd45f43001c397cab83a /sound/pci/lx6464es/lx_core.c
parentbb617ee3f82ba94072c8b08043d9166bbfe397a2 (diff)
downloadlinux-stericsson-f7467452291f7c9e5e1271e8c8e45b77f34b1257.tar.gz
ALSA: lx6464es - make 1 bit signed bitfield unsigned
converts a 1 bit signed bitfield to an unsigned. Reported-by: Dr. David Alan Gilbert <linux@treblig.org> Signed-off-by: Tim Blechmann <tim@klingt.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/lx6464es/lx_core.c')
-rw-r--r--sound/pci/lx6464es/lx_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/lx6464es/lx_core.c b/sound/pci/lx6464es/lx_core.c
index 3086b751da4a..617f98b0cbae 100644
--- a/sound/pci/lx6464es/lx_core.c
+++ b/sound/pci/lx6464es/lx_core.c
@@ -1152,7 +1152,7 @@ static int lx_interrupt_request_new_buffer(struct lx6464es *chip,
struct lx_stream *lx_stream)
{
struct snd_pcm_substream *substream = lx_stream->stream;
- int is_capture = lx_stream->is_capture;
+ const unsigned int is_capture = lx_stream->is_capture;
int err;
unsigned long flags;