replace logical- by bit-and in alc_subsystem_id(), sound/pci/hda/patch_realtek.c
PATCH 1/1 replace logical- by bit-and in alc_subsystem_id(), sound/pci/hda/patch_realtek.c
This was found in linus' git tree, am I right here? --
replace logical- by bit-and
Signed-off-by Roel Kluin <[email protected]>
---
sound/pci/hda/patch_realtek.c +1 -1
@@ -739,7 +739,7 @@ static void alc_subsystem_id(struct hda_codec *codec,/* check sum */ tmp =0 ;for (i =1 ; i <16 ; i++) { -if ((ass >> i) &&1 ) +if ((ass >> i) &1 ) tmp++; }if (((ass >>16 ) &0xf ) != tmp)
At Mon, 28 Jan 2008 14:35:39 +0100,
Quoted 6 lines · Roel Kluin
This was found in linus' git tree, am I right here? --
replace logical- by bit-andSigned-off-by Roel Kluin <[email protected]>
Already fixed on ALSA tree.
thanks,
Takashi
Quoted 15 lines
---
sound/pci/hda/patch_realtek.c +1
-1@@ -739,7 +739,7 @@ static void alc_subsystem_id(struct hda_codec *codec,/* check sum */ tmp =0 ;for (i =1 ; i <16 ; i++) { -if ((ass >> i) &&1 ) +if ((ass >> i) &1 ) tmp++; }if (((ass >>16 ) &0xf ) != tmp)