Re: [PATCH] replace logical- by bit-and in alc_subsystem_id(), sound/pci/hda/patch_realtek.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Mon, 28 Jan 2008 14:35:39 +0100,
Roel Kluin wrote:
> 
> This was found in linus' git tree, am I right here?
> --
> replace logical- by bit-and
> 
> Signed-off-by: Roel Kluin <12o3l@xxxxxxxxxx>

Already fixed on ALSA tree.


thanks,

Takashi

> ---
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index 1c50278..0a13c53 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -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)
> 
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux