diff options
author | Tim Blechmann <tim@klingt.org> | 2010-10-31 19:46:19 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-11-01 10:28:35 +0100 |
commit | f7467452291f7c9e5e1271e8c8e45b77f34b1257 (patch) | |
tree | db99575320a7a25d8165fd45f43001c397cab83a /sound/pci/lx6464es/lx6464es.c | |
parent | ALSA: cs46xx memory management fixes for cs46xx_dsp_spos_create() (diff) | |
download | linux-f7467452291f7c9e5e1271e8c8e45b77f34b1257.tar.xz linux-f7467452291f7c9e5e1271e8c8e45b77f34b1257.zip |
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/lx6464es.c')
-rw-r--r-- | sound/pci/lx6464es/lx6464es.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/lx6464es/lx6464es.c b/sound/pci/lx6464es/lx6464es.c index ef9af3f4ace2..1bd7a540fd49 100644 --- a/sound/pci/lx6464es/lx6464es.c +++ b/sound/pci/lx6464es/lx6464es.c @@ -425,7 +425,7 @@ exit: static void lx_trigger_start(struct lx6464es *chip, struct lx_stream *lx_stream) { struct snd_pcm_substream *substream = lx_stream->stream; - const int is_capture = lx_stream->is_capture; + const unsigned int is_capture = lx_stream->is_capture; int err; @@ -473,7 +473,7 @@ static void lx_trigger_start(struct lx6464es *chip, struct lx_stream *lx_stream) static void lx_trigger_stop(struct lx6464es *chip, struct lx_stream *lx_stream) { - const int is_capture = lx_stream->is_capture; + const unsigned int is_capture = lx_stream->is_capture; int err; snd_printd(LXP "stopping: stopping stream\n"); |