Linux-Samsung-soc Archive on
 help / color / Atom feed
From: Michael McConville <>
Subject: ^= usage
Date: Mon, 7 Dec 2015 23:10:38 -0500
Message-ID: <> (raw)

Just a minor simplification.

Signed-off-by: Michael McConville <>


--- sound/soc/samsung/i2s.c.orig	Mon Oct  5 21:39:03 2015
+++ sound/soc/samsung/i2s.c	Mon Dec  7 23:04:02 2015
@@ -623,10 +623,7 @@ static int i2s_set_fmt(struct snd_soc_dai *dai,
-		if (tmp & lrp_rlow)
-			tmp &= ~lrp_rlow;
-		else
-			tmp |= lrp_rlow;
+		tmp ^= lrp_rlow;
 		dev_err(&i2s->pdev->dev, "Polarity not supported\n");

                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-Samsung-soc Archive on

Archives are clonable:
	git clone --mirror linux-samsung-soc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-samsung-soc linux-samsung-soc/ \
	public-inbox-index linux-samsung-soc

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone