diff for duplicates of <1467207667-15768-12-git-send-email-ysato@users.sourceforge.jp> diff --git a/a/1.txt b/N1/1.txt index 29c450a..6a568d7 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -257,7 +257,7 @@ index 0000000..a538be4 + u16 freqcr; + + freqcr = ioread16(priv->freqcr); -+ if (cpg_clock->index == 128) ++ if (cpg_clock->index = 128) + div = iclk_div[(freqcr >> 6) & 7]; + else + div = pclk_div[freqcr & 7]; @@ -297,7 +297,7 @@ index 0000000..a538be4 + pclk_rate = pllout(freqcr, *prate, priv->mult) / pclk_div[freqcr & 7]; + + freqcr = get_best_freqcr(rate, pclk_rate, *prate, priv->mult); -+ if (cpg_clock->index == 128) ++ if (cpg_clock->index = 128) + div = iclk_div[(freqcr >> 6) & 7]; + else + div = pclk_div[freqcr & 7]; @@ -323,7 +323,7 @@ index 0000000..a538be4 + + new_freqcr = get_best_freqcr(rate, pclk_rate, parent_rate, priv->mult); + -+ if ((freqcr & 0x0200) == 0 && (new_freqcr & 0x0200) != 0) { ++ if ((freqcr & 0x0200) = 0 && (new_freqcr & 0x0200) != 0) { + /* PLL on */ + /* required stable time */ + spin_lock_irqsave(&clklock, flags); @@ -453,14 +453,14 @@ index 0000000..a538be4 + int i; + + priv = kzalloc(sizeof(struct priv), GFP_KERNEL); -+ if (priv == NULL) { ++ if (priv = NULL) { + pr_err("%s: failed to alloc memory", + node->name); + return; + } + priv->clks = kmalloc_array(sizeof(priv->clks), ARRAY_SIZE(clocknames), + GFP_KERNEL); -+ if (priv->clks == NULL) { ++ if (priv->clks = NULL) { + pr_err("%s: failed to alloc memory", + node->name); + kfree(priv); @@ -470,7 +470,7 @@ index 0000000..a538be4 + priv->clks[i] = ERR_PTR(-ENOENT); + + priv->freqcr = of_iomap(node, 0); -+ if (priv->freqcr == NULL) { ++ if (priv->freqcr = NULL) { + pr_err("%s: failed to map frequenct control register", + node->name); + goto free_clock; @@ -486,7 +486,7 @@ index 0000000..a538be4 + for (i = 0; i < ARRAY_SIZE(clocknames); i++) { + priv->clks[i] = sh7750_cpg_register(node, &clocknames[i], + parent_name, priv); -+ if (priv->clks[i] == NULL) ++ if (priv->clks[i] = NULL) + goto unmap_reg; + } + of_clk_add_provider(node, sh7750_onecell_get, priv); diff --git a/a/content_digest b/N1/content_digest index 0cb32c8..f652ddb 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01467207667-15768-1-git-send-email-ysato@users.sourceforge.jp\0" "From\0Yoshinori Sato <ysato@users.sourceforge.jp>\0" "Subject\0[PATCH v4 11/22] sh: SH7750/51 CPG Driver\0" - "Date\0Wed, 29 Jun 2016 22:40:56 +0900\0" + "Date\0Wed, 29 Jun 2016 13:40:56 +0000\0" "To\0linux-clk@vger.kernel.org" devicetree@vger.kernel.org linux-sh@vger.kernel.org @@ -268,7 +268,7 @@ "+\tu16 freqcr;\n" "+\n" "+\tfreqcr = ioread16(priv->freqcr);\n" - "+\tif (cpg_clock->index == 128)\n" + "+\tif (cpg_clock->index = 128)\n" "+\t\tdiv = iclk_div[(freqcr >> 6) & 7];\n" "+\telse\n" "+\t\tdiv = pclk_div[freqcr & 7];\n" @@ -308,7 +308,7 @@ "+\tpclk_rate = pllout(freqcr, *prate, priv->mult) / pclk_div[freqcr & 7];\n" "+\n" "+\tfreqcr = get_best_freqcr(rate, pclk_rate, *prate, priv->mult);\n" - "+\tif (cpg_clock->index == 128)\n" + "+\tif (cpg_clock->index = 128)\n" "+\t\tdiv = iclk_div[(freqcr >> 6) & 7];\n" "+\telse\n" "+\t\tdiv = pclk_div[freqcr & 7];\n" @@ -334,7 +334,7 @@ "+\n" "+\tnew_freqcr = get_best_freqcr(rate, pclk_rate, parent_rate, priv->mult);\n" "+\n" - "+\tif ((freqcr & 0x0200) == 0 && (new_freqcr & 0x0200) != 0) {\n" + "+\tif ((freqcr & 0x0200) = 0 && (new_freqcr & 0x0200) != 0) {\n" "+\t\t/* PLL on */\n" "+\t\t/* required stable time */\n" "+\t\tspin_lock_irqsave(&clklock, flags);\n" @@ -464,14 +464,14 @@ "+\tint i;\n" "+\n" "+\tpriv = kzalloc(sizeof(struct priv), GFP_KERNEL);\n" - "+\tif (priv == NULL) {\n" + "+\tif (priv = NULL) {\n" "+\t\tpr_err(\"%s: failed to alloc memory\",\n" "+\t\t node->name);\n" "+\t\treturn;\n" "+\t}\n" "+\tpriv->clks = kmalloc_array(sizeof(priv->clks), ARRAY_SIZE(clocknames),\n" "+\t\t\t\t GFP_KERNEL);\n" - "+\tif (priv->clks == NULL) {\n" + "+\tif (priv->clks = NULL) {\n" "+\t\tpr_err(\"%s: failed to alloc memory\",\n" "+\t\t node->name);\n" "+\t\tkfree(priv);\n" @@ -481,7 +481,7 @@ "+\t\tpriv->clks[i] = ERR_PTR(-ENOENT);\n" "+\n" "+\tpriv->freqcr = of_iomap(node, 0);\n" - "+\tif (priv->freqcr == NULL) {\n" + "+\tif (priv->freqcr = NULL) {\n" "+\t\tpr_err(\"%s: failed to map frequenct control register\",\n" "+\t\t node->name);\n" "+\t\tgoto free_clock;\n" @@ -497,7 +497,7 @@ "+\tfor (i = 0; i < ARRAY_SIZE(clocknames); i++) {\n" "+\t\tpriv->clks[i] = sh7750_cpg_register(node, &clocknames[i],\n" "+\t\t\t\t\t\t parent_name, priv);\n" - "+\t\tif (priv->clks[i] == NULL)\n" + "+\t\tif (priv->clks[i] = NULL)\n" "+\t\t\tgoto unmap_reg;\n" "+\t}\n" "+\tof_clk_add_provider(node, sh7750_onecell_get, priv);\n" @@ -519,4 +519,4 @@ "-- \n" 2.7.0 -5026dafde6573551f8e852ef688a9039ad03db9a9a7031198b2fbaacc523a4ab +257759e0197ba1209f7088c5d2b40461f9eb2ec2ab44dcb34b6fa0f23c89bd81
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.