OSDN Git Service

staging: bcm2835-audio: Fixed spacing around '&'
authorNarcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Sun, 26 Feb 2017 17:47:51 +0000 (19:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:07 +0000 (09:17 +0100)
This was reported by checkpatch.pl

Signed-off-by: Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c

index 76d85c5..d60d702 100644 (file)
@@ -90,7 +90,7 @@ void bcm2835_playback_fifo(struct bcm2835_alsa_stream *alsa_stream)
                frames_to_bytes(alsa_stream->substream->runtime, alsa_stream->substream->runtime->status->hw_ptr),
                new_period);
        if (alsa_stream->buffer_size) {
-               alsa_stream->pos += consumed &~(1 << 30);
+               alsa_stream->pos += consumed & ~(1 << 30);
                alsa_stream->pos %= alsa_stream->buffer_size;
        }