diff for duplicates of <20140828160528.GN14650@leverpostej> diff --git a/a/1.txt b/N1/1.txt index 24aefce..83d2933 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -139,7 +139,8 @@ Mark. > + if (!of_property_read_u32(np, "renesas,src-shift", &src_shift)) { > + if (!of_property_read_u32(np, "renesas,src-width", > + &src_width)) { -> + unsigned int parent_idx > + (clk_readl(clock->reg) >> src_shift) & +> + unsigned int parent_idx = +> + (clk_readl(clock->reg) >> src_shift) & > + (BIT(src_width) - 1); > + parent_name = of_clk_get_parent_name(np, parent_idx); > + } else { @@ -151,7 +152,7 @@ Mark. > + parent_name = of_clk_get_parent_name(np, 0); > + } > + -> if (parent_name = NULL) { +> if (parent_name == NULL) { > pr_err("%s: failed to get %s DIV6 clock parent name\n", > __func__, np->name); > -- diff --git a/a/content_digest b/N1/content_digest index 3379cab..91acd8f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01409238671-30452-1-git-send-email-ulrich.hecht+renesas@gmail.com\0" "From\0Mark Rutland <mark.rutland@arm.com>\0" "Subject\0Re: [PATCH v4] clk: shmobile: div6: support selectable-input clocks\0" - "Date\0Thu, 28 Aug 2014 16:05:28 +0000\0" + "Date\0Thu, 28 Aug 2014 17:05:28 +0100\0" "To\0Ulrich Hecht <ulrich.hecht+renesas@gmail.com>\0" "Cc\0horms@verge.net.au <horms@verge.net.au>" linux-sh@vger.kernel.org <linux-sh@vger.kernel.org> @@ -154,7 +154,8 @@ "> +\tif (!of_property_read_u32(np, \"renesas,src-shift\", &src_shift)) {\n" "> +\t\tif (!of_property_read_u32(np, \"renesas,src-width\",\n" "> +\t\t\t\t\t&src_width)) {\n" - "> +\t\t\tunsigned int parent_idx > +\t\t\t\t(clk_readl(clock->reg) >> src_shift) &\n" + "> +\t\t\tunsigned int parent_idx =\n" + "> +\t\t\t\t(clk_readl(clock->reg) >> src_shift) &\n" "> +\t\t\t\t(BIT(src_width) - 1);\n" "> +\t\t\tparent_name = of_clk_get_parent_name(np, parent_idx);\n" "> +\t\t} else {\n" @@ -166,7 +167,7 @@ "> +\t\tparent_name = of_clk_get_parent_name(np, 0);\n" "> +\t}\n" "> +\n" - "> \tif (parent_name = NULL) {\n" + "> \tif (parent_name == NULL) {\n" "> \t\tpr_err(\"%s: failed to get %s DIV6 clock parent name\\n\",\n" "> \t\t __func__, np->name);\n" "> -- \n" @@ -178,4 +179,4 @@ "> More majordomo info at http://vger.kernel.org/majordomo-info.html\n" > -5cc9e714af1e3f0f8be01425b7197b515413faf6314e4b25929fb9768b3acd46 +98675fca934ab79871f959008faf5c18b266f93b9024dd321ef6a94f45bb4350
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.