diff for duplicates of <20110225173005.GA25051@void.printf.net> diff --git a/a/1.txt b/N1/1.txt index e910e83..2e8f4e1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -2,7 +2,7 @@ Hi Guennadi, On Fri, Feb 25, 2011 at 04:58:38PM +0100, Guennadi Liakhovetski wrote: > To support MMC aggressive clock gating the driver has to stop the interface -> clock, when the .set_ios() method is called with .clock == 0. +> clock, when the .set_ios() method is called with .clock = 0. > > Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> > --- @@ -20,18 +20,18 @@ On Fri, Feb 25, 2011 at 04:58:38PM +0100, Guennadi Liakhovetski wrote: > struct sh_mmcif_host *host = mmc_priv(mmc); > struct sh_mmcif_plat_data *p = host->pd->dev.platform_data; > -> - if (ios->power_mode == MMC_POWER_OFF) { -> + if (ios->power_mode == MMC_POWER_UP) { +> - if (ios->power_mode = MMC_POWER_OFF) { +> + if (ios->power_mode = MMC_POWER_UP) { > + if (p->set_pwr) > + p->set_pwr(host->pd, ios->power_mode); -> + } else if (ios->power_mode == MMC_POWER_OFF || !ios->clock) { +> + } else if (ios->power_mode = MMC_POWER_OFF || !ios->clock) { > /* clock stop */ > sh_mmcif_clock_control(host, 0); > - if (p->down_pwr) -> + if (ios->power_mode == MMC_POWER_OFF && p->down_pwr) +> + if (ios->power_mode = MMC_POWER_OFF && p->down_pwr) > p->down_pwr(host->pd); > return; -> - } else if (ios->power_mode == MMC_POWER_UP) { +> - } else if (ios->power_mode = MMC_POWER_UP) { > - if (p->set_pwr) > - p->set_pwr(host->pd, ios->power_mode); > } diff --git a/a/content_digest b/N1/content_digest index 0c2a856..9c73d5d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -11,7 +11,7 @@ "\n" "On Fri, Feb 25, 2011 at 04:58:38PM +0100, Guennadi Liakhovetski wrote:\n" "> To support MMC aggressive clock gating the driver has to stop the interface\n" - "> clock, when the .set_ios() method is called with .clock == 0.\n" + "> clock, when the .set_ios() method is called with .clock = 0.\n" "> \n" "> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>\n" "> ---\n" @@ -29,18 +29,18 @@ "> \tstruct sh_mmcif_host *host = mmc_priv(mmc);\n" "> \tstruct sh_mmcif_plat_data *p = host->pd->dev.platform_data;\n" "> \n" - "> -\tif (ios->power_mode == MMC_POWER_OFF) {\n" - "> +\tif (ios->power_mode == MMC_POWER_UP) {\n" + "> -\tif (ios->power_mode = MMC_POWER_OFF) {\n" + "> +\tif (ios->power_mode = MMC_POWER_UP) {\n" "> +\t\tif (p->set_pwr)\n" "> +\t\t\tp->set_pwr(host->pd, ios->power_mode);\n" - "> +\t} else if (ios->power_mode == MMC_POWER_OFF || !ios->clock) {\n" + "> +\t} else if (ios->power_mode = MMC_POWER_OFF || !ios->clock) {\n" "> \t\t/* clock stop */\n" "> \t\tsh_mmcif_clock_control(host, 0);\n" "> -\t\tif (p->down_pwr)\n" - "> +\t\tif (ios->power_mode == MMC_POWER_OFF && p->down_pwr)\n" + "> +\t\tif (ios->power_mode = MMC_POWER_OFF && p->down_pwr)\n" "> \t\t\tp->down_pwr(host->pd);\n" "> \t\treturn;\n" - "> -\t} else if (ios->power_mode == MMC_POWER_UP) {\n" + "> -\t} else if (ios->power_mode = MMC_POWER_UP) {\n" "> -\t\tif (p->set_pwr)\n" "> -\t\t\tp->set_pwr(host->pd, ios->power_mode);\n" "> \t}\n" @@ -53,4 +53,4 @@ "Chris Ball <cjb@laptop.org> <http://printf.net/>\n" One Laptop Per Child -5d642fcec49ef3950fffc7851f8d86e3ed74238aef1e0689afa12695d113e1a8 +992373d9798c600787fa0cfc6601f3ae3579b98d44dff74338f49bf8ab066889
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.