All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <1434755.d9svPEINg5@avalon>

diff --git a/a/1.txt b/N1/1.txt
index af3cdd1..0ed593e 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -12,7 +12,7 @@ On Thursday 06 March 2014 12:32:21 Wolfram Sang wrote:
 > * added docs
 > * preparation for usb_x1 support by documenting two input clocks
 > * static-consted frqcr_tab
-> * bail out if num_clks = 0
+> * bail out if num_clks == 0
 > * cosmetic fixes
 > 
 > Mike: if you are fine with this driver, it would be good if you could apply
@@ -63,7 +63,7 @@ the datasheet.
 > +Example
 > +-------
 > +
-> +	cpg_clocks: cpg_clocks@fcfe0000 {
+> +	cpg_clocks: cpg_clocks at fcfe0000 {
 > +		#clock-cells = <1>;
 > +		compatible = "renesas,r7s72100-cpg-clocks",
 > +			     "renesas,rz-cpg-clocks";
@@ -126,7 +126,7 @@ the datasheet.
 > +	unsigned mult;
 > +	static const unsigned frqcr_tab[4] = { 3, 2, 0, 1 };
 > +
-> +	if (strcmp(name, "pll") = 0) {
+> +	if (strcmp(name, "pll") == 0) {
 > +		/* FIXME: cpg_mode should be read from GPIO. But no GPIO support yet
 > */
 > +		unsigned cpg_mode = 0; /* hardcoded to EXTAL for now */
@@ -143,9 +143,9 @@ the datasheet.
 > +	 * and the constraint that always g <= i. To get the rz platform started,
 > +	 * let them run at fixed current speed and implement the details later.
 > +	 */
-> +	if (strcmp(name, "i") = 0)
+> +	if (strcmp(name, "i") == 0)
 > +		val = (clk_readl(cpg->reg + CPG_FRQCR) >> 8) & 3;
-> +	else if (strcmp(name, "g") = 0)
+> +	else if (strcmp(name, "g") == 0)
 > +		val = clk_readl(cpg->reg + CPG_FRQCR2) & 3;
 > +	else
 > +		return ERR_PTR(-EINVAL);
diff --git a/a/content_digest b/N1/content_digest
index 31dad97..00df21f 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,8 +1,8 @@
  "ref\01394105552-9744-1-git-send-email-wsa@the-dreams.de\0"
  "ref\01394105552-9744-2-git-send-email-wsa@the-dreams.de\0"
- "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0"
- "Subject\0Re: [PATCH V2 01/12] clk: shmobile: add CPG driver for rz-platforms\0"
- "Date\0Thu, 06 Mar 2014 12:12:52 +0000\0"
+ "From\0laurent.pinchart@ideasonboard.com (Laurent Pinchart)\0"
+ "Subject\0[PATCH V2 01/12] clk: shmobile: add CPG driver for rz-platforms\0"
+ "Date\0Thu, 06 Mar 2014 13:12:52 +0100\0"
  "To\0linux-arm-kernel@lists.infradead.org\0"
  "\00:1\0"
  "b\0"
@@ -20,7 +20,7 @@
  "> * added docs\n"
  "> * preparation for usb_x1 support by documenting two input clocks\n"
  "> * static-consted frqcr_tab\n"
- "> * bail out if num_clks = 0\n"
+ "> * bail out if num_clks == 0\n"
  "> * cosmetic fixes\n"
  "> \n"
  "> Mike: if you are fine with this driver, it would be good if you could apply\n"
@@ -71,7 +71,7 @@
  "> +Example\n"
  "> +-------\n"
  "> +\n"
- "> +\tcpg_clocks: cpg_clocks@fcfe0000 {\n"
+ "> +\tcpg_clocks: cpg_clocks at fcfe0000 {\n"
  "> +\t\t#clock-cells = <1>;\n"
  "> +\t\tcompatible = \"renesas,r7s72100-cpg-clocks\",\n"
  "> +\t\t\t     \"renesas,rz-cpg-clocks\";\n"
@@ -134,7 +134,7 @@
  "> +\tunsigned mult;\n"
  "> +\tstatic const unsigned frqcr_tab[4] = { 3, 2, 0, 1 };\n"
  "> +\n"
- "> +\tif (strcmp(name, \"pll\") = 0) {\n"
+ "> +\tif (strcmp(name, \"pll\") == 0) {\n"
  "> +\t\t/* FIXME: cpg_mode should be read from GPIO. But no GPIO support yet\n"
  "> */\n"
  "> +\t\tunsigned cpg_mode = 0; /* hardcoded to EXTAL for now */\n"
@@ -151,9 +151,9 @@
  "> +\t * and the constraint that always g <= i. To get the rz platform started,\n"
  "> +\t * let them run at fixed current speed and implement the details later.\n"
  "> +\t */\n"
- "> +\tif (strcmp(name, \"i\") = 0)\n"
+ "> +\tif (strcmp(name, \"i\") == 0)\n"
  "> +\t\tval = (clk_readl(cpg->reg + CPG_FRQCR) >> 8) & 3;\n"
- "> +\telse if (strcmp(name, \"g\") = 0)\n"
+ "> +\telse if (strcmp(name, \"g\") == 0)\n"
  "> +\t\tval = clk_readl(cpg->reg + CPG_FRQCR2) & 3;\n"
  "> +\telse\n"
  "> +\t\treturn ERR_PTR(-EINVAL);\n"
@@ -235,4 +235,4 @@
  "\n"
  Laurent Pinchart
 
-2ceaad44393e13f839fc8c91831327b2eb5395f81d75789fbce26c237c9c4993
+a82ecd2a41ec808551e00f75b95056515522daf4ac0a7c5285dd806137f8da04

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.