ALSA: ad1889: Fix probable mask then right shift defects
authorJoe Perches <joe@perches.com>
Mon, 27 Oct 2014 05:25:07 +0000 (22:25 -0700)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Oct 2014 07:40:18 +0000 (08:40 +0100)
commitccbec5ea0dd7972d0c99ef8a143bb52c814509cf
tree1c3eae4052c863efeefab5315862e33deffb66a4
parent7ce5c9268bacbe5ceca7849450c80e280aacd4c0
ALSA: ad1889: Fix probable mask then right shift defects

Precedence of & and >> is not the same and is not left to right.
shift has higher precedence and should be done after the mask.

Add parentheses around the mask.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ad1889.c