diff for duplicates of <20150528034424.22384.83956@quantum> diff --git a/a/1.txt b/N1/1.txt index 685ca68..b5f03f2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -8,16 +8,15 @@ Quoting Joachim Eastwood (2015-05-18 15:35:57) > +{ > + int i; > + -> + for (i =3D 0; i < ARRAY_SIZE(clk_branches); i++) { -> + if (clk_branches[i].base_id !=3D base_clk_id) +> + for (i = 0; i < ARRAY_SIZE(clk_branches); i++) { +> + if (clk_branches[i].base_id != base_clk_id) > + continue; > + -> + lpc18xx_ccu_register_branch_gate_div(&clk_branches[i], re= -g_base, +> + lpc18xx_ccu_register_branch_gate_div(&clk_branches[i], reg_base, > + parent); > + > + if (clk_branches[i].flags & CCU_BRANCH_IS_BUS) -> + parent =3D clk_branches[i].name; +> + parent = clk_branches[i].name; > + } > +} > + @@ -30,39 +29,39 @@ g_base, > + int base_clk_id; > + int i; > + -> + reg_base =3D of_iomap(np, 0); +> + reg_base = of_iomap(np, 0); > + if (!reg_base) { > + pr_warn("%s: failed to map address range\n", __func__); > + return; > + } > + -> + clk_data =3D kzalloc(sizeof(*clk_data), GFP_KERNEL); +> + clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL); > + if (!clk_data) > + return; > + -> + num_base_ids =3D of_clk_get_parent_count(np); +> + num_base_ids = of_clk_get_parent_count(np); > + -> + base_ids =3D kcalloc(num_base_ids, sizeof(int), GFP_KERNEL); +> + base_ids = kcalloc(num_base_ids, sizeof(int), GFP_KERNEL); > + if (!base_ids) { > + kfree(clk_data); > + return; > + } > + -> + clk_data->base_ids =3D base_ids; -> + clk_data->num_base_ids =3D num_base_ids; +> + clk_data->base_ids = base_ids; +> + clk_data->num_base_ids = num_base_ids; > + -> + for (i =3D 0; i < num_base_ids; i++) { -> + struct clk *clk =3D of_clk_get(np, i); +> + for (i = 0; i < num_base_ids; i++) { +> + struct clk *clk = of_clk_get(np, i); > + if (IS_ERR(clk)) { > + pr_warn("%s: failed to get clock at idx %d\n", > + __func__, i); > + continue; > + } > + -> + parent =3D __clk_get_name(clk); -> + base_clk_id =3D of_clk_get_index(np, i); +> + parent = __clk_get_name(clk); +> + base_clk_id = of_clk_get_index(np, i); > + -> + clk_data->base_ids[i] =3D base_clk_id; +> + clk_data->base_ids[i] = base_clk_id; > + lpc18xx_ccu_register_branch_clks(reg_base, base_clk_id, > + parent); diff --git a/a/content_digest b/N1/content_digest index f3fbb68..e41696e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,15 +1,9 @@ "ref\01431988559-23338-1-git-send-email-manabian@gmail.com\0" "ref\01431988559-23338-5-git-send-email-manabian@gmail.com\0" - "From\0Michael Turquette <mturquette@linaro.org>\0" - "Subject\0Re: [PATCH v3 4/6] clk: add lpc18xx ccu clk driver\0" + "From\0mturquette@linaro.org (Michael Turquette)\0" + "Subject\0[PATCH v3 4/6] clk: add lpc18xx ccu clk driver\0" "Date\0Wed, 27 May 2015 20:44:24 -0700\0" - "To\0Joachim Eastwood <manabian@gmail.com>" - " sboyd@codeaurora.org\0" - "Cc\0Joachim Eastwood <manabian@gmail.com>" - devicetree@vger.kernel.org - linux-clk@vger.kernel.org - linux-arm-kernel@lists.infradead.org - " ezequiel@vanguardiasur.com.ar\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "Hi Joachim,\n" @@ -22,16 +16,15 @@ "> +{\n" "> + int i;\n" "> +\n" - "> + for (i =3D 0; i < ARRAY_SIZE(clk_branches); i++) {\n" - "> + if (clk_branches[i].base_id !=3D base_clk_id)\n" + "> + for (i = 0; i < ARRAY_SIZE(clk_branches); i++) {\n" + "> + if (clk_branches[i].base_id != base_clk_id)\n" "> + continue;\n" "> +\n" - "> + lpc18xx_ccu_register_branch_gate_div(&clk_branches[i], re=\n" - "g_base,\n" + "> + lpc18xx_ccu_register_branch_gate_div(&clk_branches[i], reg_base,\n" "> + parent);\n" "> +\n" "> + if (clk_branches[i].flags & CCU_BRANCH_IS_BUS)\n" - "> + parent =3D clk_branches[i].name;\n" + "> + parent = clk_branches[i].name;\n" "> + }\n" "> +}\n" "> +\n" @@ -44,39 +37,39 @@ "> + int base_clk_id;\n" "> + int i;\n" "> +\n" - "> + reg_base =3D of_iomap(np, 0);\n" + "> + reg_base = of_iomap(np, 0);\n" "> + if (!reg_base) {\n" "> + pr_warn(\"%s: failed to map address range\\n\", __func__);\n" "> + return;\n" "> + }\n" "> +\n" - "> + clk_data =3D kzalloc(sizeof(*clk_data), GFP_KERNEL);\n" + "> + clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL);\n" "> + if (!clk_data)\n" "> + return;\n" "> +\n" - "> + num_base_ids =3D of_clk_get_parent_count(np);\n" + "> + num_base_ids = of_clk_get_parent_count(np);\n" "> +\n" - "> + base_ids =3D kcalloc(num_base_ids, sizeof(int), GFP_KERNEL);\n" + "> + base_ids = kcalloc(num_base_ids, sizeof(int), GFP_KERNEL);\n" "> + if (!base_ids) {\n" "> + kfree(clk_data);\n" "> + return;\n" "> + }\n" "> +\n" - "> + clk_data->base_ids =3D base_ids;\n" - "> + clk_data->num_base_ids =3D num_base_ids;\n" + "> + clk_data->base_ids = base_ids;\n" + "> + clk_data->num_base_ids = num_base_ids;\n" "> +\n" - "> + for (i =3D 0; i < num_base_ids; i++) {\n" - "> + struct clk *clk =3D of_clk_get(np, i);\n" + "> + for (i = 0; i < num_base_ids; i++) {\n" + "> + struct clk *clk = of_clk_get(np, i);\n" "> + if (IS_ERR(clk)) {\n" "> + pr_warn(\"%s: failed to get clock at idx %d\\n\",\n" "> + __func__, i);\n" "> + continue;\n" "> + }\n" "> +\n" - "> + parent =3D __clk_get_name(clk);\n" - "> + base_clk_id =3D of_clk_get_index(np, i);\n" + "> + parent = __clk_get_name(clk);\n" + "> + base_clk_id = of_clk_get_index(np, i);\n" "> +\n" - "> + clk_data->base_ids[i] =3D base_clk_id;\n" + "> + clk_data->base_ids[i] = base_clk_id;\n" "> + lpc18xx_ccu_register_branch_clks(reg_base, base_clk_id,\n" "> + parent);\n" "\n" @@ -125,4 +118,4 @@ "Thanks,\n" Mike -351e6e8f1ab93f9a386e7f82324404b402a403fca21690738d695fe3de34ba81 +66cecf942a887b5c143ccc6ec8281d5b6433098a311ed6c9e61c3aff66a6665b
diff --git a/a/1.txt b/N2/1.txt index 685ca68..64dc016 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -8,16 +8,15 @@ Quoting Joachim Eastwood (2015-05-18 15:35:57) > +{ > + int i; > + -> + for (i =3D 0; i < ARRAY_SIZE(clk_branches); i++) { -> + if (clk_branches[i].base_id !=3D base_clk_id) +> + for (i = 0; i < ARRAY_SIZE(clk_branches); i++) { +> + if (clk_branches[i].base_id != base_clk_id) > + continue; > + -> + lpc18xx_ccu_register_branch_gate_div(&clk_branches[i], re= -g_base, +> + lpc18xx_ccu_register_branch_gate_div(&clk_branches[i], reg_base, > + parent); > + > + if (clk_branches[i].flags & CCU_BRANCH_IS_BUS) -> + parent =3D clk_branches[i].name; +> + parent = clk_branches[i].name; > + } > +} > + @@ -30,39 +29,39 @@ g_base, > + int base_clk_id; > + int i; > + -> + reg_base =3D of_iomap(np, 0); +> + reg_base = of_iomap(np, 0); > + if (!reg_base) { > + pr_warn("%s: failed to map address range\n", __func__); > + return; > + } > + -> + clk_data =3D kzalloc(sizeof(*clk_data), GFP_KERNEL); +> + clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL); > + if (!clk_data) > + return; > + -> + num_base_ids =3D of_clk_get_parent_count(np); +> + num_base_ids = of_clk_get_parent_count(np); > + -> + base_ids =3D kcalloc(num_base_ids, sizeof(int), GFP_KERNEL); +> + base_ids = kcalloc(num_base_ids, sizeof(int), GFP_KERNEL); > + if (!base_ids) { > + kfree(clk_data); > + return; > + } > + -> + clk_data->base_ids =3D base_ids; -> + clk_data->num_base_ids =3D num_base_ids; +> + clk_data->base_ids = base_ids; +> + clk_data->num_base_ids = num_base_ids; > + -> + for (i =3D 0; i < num_base_ids; i++) { -> + struct clk *clk =3D of_clk_get(np, i); +> + for (i = 0; i < num_base_ids; i++) { +> + struct clk *clk = of_clk_get(np, i); > + if (IS_ERR(clk)) { > + pr_warn("%s: failed to get clock at idx %d\n", > + __func__, i); > + continue; > + } > + -> + parent =3D __clk_get_name(clk); -> + base_clk_id =3D of_clk_get_index(np, i); +> + parent = __clk_get_name(clk); +> + base_clk_id = of_clk_get_index(np, i); > + -> + clk_data->base_ids[i] =3D base_clk_id; +> + clk_data->base_ids[i] = base_clk_id; > + lpc18xx_ccu_register_branch_clks(reg_base, base_clk_id, > + parent); @@ -110,3 +109,7 @@ parent names in your clk_branches[] array. Thanks, Mike +-- +To unsubscribe from this list: send the line "unsubscribe devicetree" in +the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N2/content_digest index f3fbb68..ba006dc 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,15 +1,15 @@ "ref\01431988559-23338-1-git-send-email-manabian@gmail.com\0" "ref\01431988559-23338-5-git-send-email-manabian@gmail.com\0" - "From\0Michael Turquette <mturquette@linaro.org>\0" + "ref\01431988559-23338-5-git-send-email-manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org\0" + "From\0Michael Turquette <mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>\0" "Subject\0Re: [PATCH v3 4/6] clk: add lpc18xx ccu clk driver\0" "Date\0Wed, 27 May 2015 20:44:24 -0700\0" - "To\0Joachim Eastwood <manabian@gmail.com>" - " sboyd@codeaurora.org\0" - "Cc\0Joachim Eastwood <manabian@gmail.com>" - devicetree@vger.kernel.org - linux-clk@vger.kernel.org - linux-arm-kernel@lists.infradead.org - " ezequiel@vanguardiasur.com.ar\0" + "To\0sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org\0" + "Cc\0Joachim Eastwood <manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>" + devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org + " ezequiel-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org\0" "\00:1\0" "b\0" "Hi Joachim,\n" @@ -22,16 +22,15 @@ "> +{\n" "> + int i;\n" "> +\n" - "> + for (i =3D 0; i < ARRAY_SIZE(clk_branches); i++) {\n" - "> + if (clk_branches[i].base_id !=3D base_clk_id)\n" + "> + for (i = 0; i < ARRAY_SIZE(clk_branches); i++) {\n" + "> + if (clk_branches[i].base_id != base_clk_id)\n" "> + continue;\n" "> +\n" - "> + lpc18xx_ccu_register_branch_gate_div(&clk_branches[i], re=\n" - "g_base,\n" + "> + lpc18xx_ccu_register_branch_gate_div(&clk_branches[i], reg_base,\n" "> + parent);\n" "> +\n" "> + if (clk_branches[i].flags & CCU_BRANCH_IS_BUS)\n" - "> + parent =3D clk_branches[i].name;\n" + "> + parent = clk_branches[i].name;\n" "> + }\n" "> +}\n" "> +\n" @@ -44,39 +43,39 @@ "> + int base_clk_id;\n" "> + int i;\n" "> +\n" - "> + reg_base =3D of_iomap(np, 0);\n" + "> + reg_base = of_iomap(np, 0);\n" "> + if (!reg_base) {\n" "> + pr_warn(\"%s: failed to map address range\\n\", __func__);\n" "> + return;\n" "> + }\n" "> +\n" - "> + clk_data =3D kzalloc(sizeof(*clk_data), GFP_KERNEL);\n" + "> + clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL);\n" "> + if (!clk_data)\n" "> + return;\n" "> +\n" - "> + num_base_ids =3D of_clk_get_parent_count(np);\n" + "> + num_base_ids = of_clk_get_parent_count(np);\n" "> +\n" - "> + base_ids =3D kcalloc(num_base_ids, sizeof(int), GFP_KERNEL);\n" + "> + base_ids = kcalloc(num_base_ids, sizeof(int), GFP_KERNEL);\n" "> + if (!base_ids) {\n" "> + kfree(clk_data);\n" "> + return;\n" "> + }\n" "> +\n" - "> + clk_data->base_ids =3D base_ids;\n" - "> + clk_data->num_base_ids =3D num_base_ids;\n" + "> + clk_data->base_ids = base_ids;\n" + "> + clk_data->num_base_ids = num_base_ids;\n" "> +\n" - "> + for (i =3D 0; i < num_base_ids; i++) {\n" - "> + struct clk *clk =3D of_clk_get(np, i);\n" + "> + for (i = 0; i < num_base_ids; i++) {\n" + "> + struct clk *clk = of_clk_get(np, i);\n" "> + if (IS_ERR(clk)) {\n" "> + pr_warn(\"%s: failed to get clock at idx %d\\n\",\n" "> + __func__, i);\n" "> + continue;\n" "> + }\n" "> +\n" - "> + parent =3D __clk_get_name(clk);\n" - "> + base_clk_id =3D of_clk_get_index(np, i);\n" + "> + parent = __clk_get_name(clk);\n" + "> + base_clk_id = of_clk_get_index(np, i);\n" "> +\n" - "> + clk_data->base_ids[i] =3D base_clk_id;\n" + "> + clk_data->base_ids[i] = base_clk_id;\n" "> + lpc18xx_ccu_register_branch_clks(reg_base, base_clk_id,\n" "> + parent);\n" "\n" @@ -123,6 +122,10 @@ "parent names in your clk_branches[] array.\n" "\n" "Thanks,\n" - Mike + "Mike\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe devicetree\" in\n" + "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -351e6e8f1ab93f9a386e7f82324404b402a403fca21690738d695fe3de34ba81 +15f69c2de13c5f6fe1148668fb91c311d7b5700996287efc7b307c32f3b1c86a
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.