diff for duplicates of <5551150.7JWBMBpJuH@avalon> diff --git a/a/1.txt b/N1/1.txt index 51f9979..c9d2399 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -79,13 +79,13 @@ On Friday 31 October 2014 16:01:35 Ulrich Hecht wrote: > + u8 hw_index; > + int i; > + -> + if (clock->src_width = 0) +> + if (clock->src_width == 0) > + return 0; > + > + hw_index = (clk_readl(clock->reg) >> clock->src_shift) & > + (BIT(clock->src_width) - 1); > + for (i = 0; i < hw->init->num_parents; i++) { -> + if (clock->parents[i] = hw_index) +> + if (clock->parents[i] == hw_index) > + return i; > + } > + @@ -169,7 +169,7 @@ On Friday 31 October 2014 16:01:35 Ulrich Hecht wrote: > } > > - 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); > - goto error; diff --git a/a/content_digest b/N1/content_digest index 794d3f9..d986c43 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01414767696-23211-2-git-send-email-ulrich.hecht+renesas@gmail.com\0" "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" "Subject\0Re: [PATCH 1/2] clk: shmobile: div6: support selectable-input clocks\0" - "Date\0Mon, 03 Nov 2014 13:34:00 +0000\0" + "Date\0Mon, 03 Nov 2014 15:34 +0200\0" "To\0Ulrich Hecht <ulrich.hecht+renesas@gmail.com>\0" "Cc\0horms@verge.net.au" mturquette@linaro.org @@ -94,13 +94,13 @@ "> +\tu8 hw_index;\n" "> +\tint i;\n" "> +\n" - "> +\tif (clock->src_width = 0)\n" + "> +\tif (clock->src_width == 0)\n" "> +\t\treturn 0;\n" "> +\n" "> +\thw_index = (clk_readl(clock->reg) >> clock->src_shift) &\n" "> +\t\t (BIT(clock->src_width) - 1);\n" "> +\tfor (i = 0; i < hw->init->num_parents; i++) {\n" - "> +\t\tif (clock->parents[i] = hw_index)\n" + "> +\t\tif (clock->parents[i] == hw_index)\n" "> +\t\t\treturn i;\n" "> +\t}\n" "> +\n" @@ -184,7 +184,7 @@ "> \t}\n" "> \n" "> -\tparent_name = of_clk_get_parent_name(np, 0);\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" "> -\t\tgoto error;\n" @@ -247,4 +247,4 @@ "\n" Laurent Pinchart -d335c73ca7b672eb179186232ff33c54120857d1febcbc1f05857d151e5d1eaa +a409abef19d19c1a8abd59e8180951c5c617fb0e55d19eda1bcd3f11cd42134c
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.