All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roel Kluin <12o3l@tiscali.nl>
To: tiwai@suse.de, perex@suse.cz
Cc: alsa-devel@alsa-project.org
Subject: [PATCH] replace logical- by bit-and in alc_subsystem_id(), sound/pci/hda/patch_realtek.c
Date: Mon, 28 Jan 2008 14:35:39 +0100	[thread overview]
Message-ID: <479DDA2B.3030406@tiscali.nl> (raw)

This was found in linus' git tree, am I right here?
--
replace logical- by bit-and

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
---
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)

             reply	other threads:[~2008-01-28 13:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-28 13:35 Roel Kluin [this message]
2008-01-28 13:42 ` [PATCH] replace logical- by bit-and in alc_subsystem_id(), sound/pci/hda/patch_realtek.c Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=479DDA2B.3030406@tiscali.nl \
    --to=12o3l@tiscali.nl \
    --cc=alsa-devel@alsa-project.org \
    --cc=perex@suse.cz \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.