]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93c716d22198d1f711f0b308054d80f3779d5a47
tree1c3eae4052c863efeefab5315862e33deffb66a4
parenta953d81483fe35b6ceb20bae5885ccd18b869882
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