linux-samsung-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ^= usage
@ 2015-12-08  4:10 Michael McConville
  0 siblings, 0 replies; only message in thread
From: Michael McConville @ 2015-12-08  4:10 UTC (permalink / raw)
  To: linux-samsung-soc

Just a minor simplification.

Signed-off-by: Michael McConville <mmcco@mykolab.com>

---

--- 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,
 	case SND_SOC_DAIFMT_NB_NF:
 		break;
 	case SND_SOC_DAIFMT_NB_IF:
-		if (tmp & lrp_rlow)
-			tmp &= ~lrp_rlow;
-		else
-			tmp |= lrp_rlow;
+		tmp ^= lrp_rlow;
 		break;
 	default:
 		dev_err(&i2s->pdev->dev, "Polarity not supported\n");

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-08  4:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-08  4:10 ^= usage Michael McConville

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).