All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <1392907389-21798-11-git-send-email-geert@linux-m68k.org>

diff --git a/a/1.txt b/N1/1.txt
index 2af629e..406540f 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -68,9 +68,9 @@ index bd300fcb7116..642b0b637df1 100644
 -
 -	/* chip select is active low unless SPI_CS_HIGH is set */
 -	if (spi->mode & SPI_CS_HIGH)
--		value = (is_on = BITBANG_CS_ACTIVE) ? 1 : 0;
+-		value = (is_on == BITBANG_CS_ACTIVE) ? 1 : 0;
 -	else
--		value = (is_on = BITBANG_CS_ACTIVE) ? 0 : 1;
+-		value = (is_on == BITBANG_CS_ACTIVE) ? 0 : 1;
 -
 -	if (spi->cs_gpio >= 0)
 -		gpio_set_value(spi->cs_gpio, value);
@@ -141,7 +141,7 @@ index bd300fcb7116..642b0b637df1 100644
 +	}
  
 -	ret = spi_bitbang_start(&p->bitbang);
--	if (ret = 0)
+-	if (ret == 0)
 -		return 0;
 +	return 0;
  
diff --git a/a/content_digest b/N1/content_digest
index fe08358..3112d11 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -8,7 +8,7 @@
   "Subject\0[PATCH 10/10] spi: sh-msiof: Use core message handling instead of spi-bitbang\0"
 ]
 [
-  "Date\0Thu, 20 Feb 2014 14:43:09 +0000\0"
+  "Date\0Thu, 20 Feb 2014 15:43:09 +0100\0"
 ]
 [
   "To\0Mark Brown <broonie\@kernel.org>\0"
@@ -98,9 +98,9 @@
   "-\n",
   "-\t/* chip select is active low unless SPI_CS_HIGH is set */\n",
   "-\tif (spi->mode & SPI_CS_HIGH)\n",
-  "-\t\tvalue = (is_on = BITBANG_CS_ACTIVE) ? 1 : 0;\n",
+  "-\t\tvalue = (is_on == BITBANG_CS_ACTIVE) ? 1 : 0;\n",
   "-\telse\n",
-  "-\t\tvalue = (is_on = BITBANG_CS_ACTIVE) ? 0 : 1;\n",
+  "-\t\tvalue = (is_on == BITBANG_CS_ACTIVE) ? 0 : 1;\n",
   "-\n",
   "-\tif (spi->cs_gpio >= 0)\n",
   "-\t\tgpio_set_value(spi->cs_gpio, value);\n",
@@ -171,7 +171,7 @@
   "+\t}\n",
   " \n",
   "-\tret = spi_bitbang_start(&p->bitbang);\n",
-  "-\tif (ret = 0)\n",
+  "-\tif (ret == 0)\n",
   "-\t\treturn 0;\n",
   "+\treturn 0;\n",
   " \n",
@@ -202,4 +202,4 @@
   "1.7.9.5"
 ]
 
-85e082bd2453a3fe5cab2b0363527b1893db258a947b8952d1a71f19c6b3c106
+71eb96ee22ba512b1baa8be1b1352c0e52acc941e1c66bbd7b6a8aaaef4eae5b

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.