diff for duplicates of <4C6A5ADB.4000505@canonical.com> diff --git a/a/1.txt b/N1/1.txt index f0053db..a257940 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -55,7 +55,7 @@ On 08/17/2010 05:27 PM, stanley.miao wrote: >>>> >>>> dev_dbg(&dssdev->dev, "%s\n", __func__); >>>> ->>>> + if (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE) +>>>> + if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE) >>>> + return 0; >>>> + >>>> mutex_lock(&md->mutex); @@ -82,7 +82,7 @@ On 08/17/2010 05:27 PM, stanley.miao wrote: >>>> { >>>> int r; >>>> ->>>> + if (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE) +>>>> + if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE) >>>> + return 0; >>>> + >>>> r = omapdss_dpi_display_enable(dssdev); @@ -108,7 +108,7 @@ On 08/17/2010 05:27 PM, stanley.miao wrote: >>>> { >>>> int r; >>>> ->>>> + if (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE) +>>>> + if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE) >>>> + return 0; >>>> + >>>> r = omapdss_dpi_display_enable(dssdev); @@ -134,7 +134,7 @@ On 08/17/2010 05:27 PM, stanley.miao wrote: >>>> { >>>> int r = 0; >>>> ->>>> + if (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE) +>>>> + if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE) >>>> + return 0; >>>> + >>>> r = omapdss_dpi_display_enable(dssdev); @@ -160,7 +160,7 @@ On 08/17/2010 05:27 PM, stanley.miao wrote: >>>> u8 id1, id2, id3; >>>> int r; >>>> ->>>> + if (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE) +>>>> + if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE) >>>> + return 0; >>>> + >>>> if (dssdev->platform_enable) { @@ -187,7 +187,7 @@ On 08/17/2010 05:27 PM, stanley.miao wrote: >>>> { >>>> int r; >>>> ->>>> + if (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE) +>>>> + if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE) >>>> + return 0; >>>> + >>>> r = omapdss_dpi_display_enable(dssdev); @@ -214,7 +214,7 @@ On 08/17/2010 05:27 PM, stanley.miao wrote: >>>> int nreset_gpio = dssdev->reset_gpio; >>>> int r; >>>> ->>>> + if (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE) +>>>> + if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE) >>>> + return 0; >>>> + >>>> r = omapdss_dpi_display_enable(dssdev); @@ -222,7 +222,8 @@ On 08/17/2010 05:27 PM, stanley.miao wrote: >>>> goto err0; >>>> @@ -308,6 +311,9 @@ static void tpo_td043_power_off(struct >>>> omap_dss_device *dssdev) ->>>> struct tpo_td043_device *tpo_td043 >>>> dev_get_drvdata(&dssdev->dev); +>>>> struct tpo_td043_device *tpo_td043 = +>>>> dev_get_drvdata(&dssdev->dev); >>>> int nreset_gpio = dssdev->reset_gpio; >>>> >>>> + if (dssdev->state != OMAP_DSS_DISPLAY_ACTIVE) diff --git a/a/content_digest b/N1/content_digest index d3835d0..992fc77 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\04C6A55EA.1090407@windriver.com\0" "From\0Bryan Wu <bryan.wu@canonical.com>\0" "Subject\0Re: [PATCH V2] OMAP: DSS2: don't power off a panel twice\0" - "Date\0Tue, 17 Aug 2010 09:48:11 +0000\0" + "Date\0Tue, 17 Aug 2010 17:48:11 +0800\0" "To\0stanley.miao <stanley.miao@windriver.com>\0" "Cc\0linux-omap@vger.kernel.org" lwalkera@ieee.org @@ -70,7 +70,7 @@ ">>>> \n" ">>>> dev_dbg(&dssdev->dev, \"%s\\n\", __func__);\n" ">>>> \n" - ">>>> + if (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE)\n" + ">>>> + if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)\n" ">>>> + return 0;\n" ">>>> +\n" ">>>> mutex_lock(&md->mutex);\n" @@ -97,7 +97,7 @@ ">>>> {\n" ">>>> int r;\n" ">>>> \n" - ">>>> + if (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE)\n" + ">>>> + if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)\n" ">>>> + return 0;\n" ">>>> +\n" ">>>> r = omapdss_dpi_display_enable(dssdev);\n" @@ -123,7 +123,7 @@ ">>>> {\n" ">>>> int r;\n" ">>>> \n" - ">>>> + if (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE)\n" + ">>>> + if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)\n" ">>>> + return 0;\n" ">>>> +\n" ">>>> r = omapdss_dpi_display_enable(dssdev);\n" @@ -149,7 +149,7 @@ ">>>> {\n" ">>>> int r = 0;\n" ">>>> \n" - ">>>> + if (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE)\n" + ">>>> + if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)\n" ">>>> + return 0;\n" ">>>> +\n" ">>>> r = omapdss_dpi_display_enable(dssdev);\n" @@ -175,7 +175,7 @@ ">>>> u8 id1, id2, id3;\n" ">>>> int r;\n" ">>>> \n" - ">>>> + if (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE)\n" + ">>>> + if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)\n" ">>>> + return 0;\n" ">>>> +\n" ">>>> if (dssdev->platform_enable) {\n" @@ -202,7 +202,7 @@ ">>>> {\n" ">>>> int r;\n" ">>>> \n" - ">>>> + if (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE)\n" + ">>>> + if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)\n" ">>>> + return 0;\n" ">>>> +\n" ">>>> r = omapdss_dpi_display_enable(dssdev);\n" @@ -229,7 +229,7 @@ ">>>> int nreset_gpio = dssdev->reset_gpio;\n" ">>>> int r;\n" ">>>> \n" - ">>>> + if (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE)\n" + ">>>> + if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)\n" ">>>> + return 0;\n" ">>>> +\n" ">>>> r = omapdss_dpi_display_enable(dssdev);\n" @@ -237,7 +237,8 @@ ">>>> goto err0;\n" ">>>> @@ -308,6 +311,9 @@ static void tpo_td043_power_off(struct\n" ">>>> omap_dss_device *dssdev)\n" - ">>>> struct tpo_td043_device *tpo_td043 >>>> dev_get_drvdata(&dssdev->dev);\n" + ">>>> struct tpo_td043_device *tpo_td043 =\n" + ">>>> dev_get_drvdata(&dssdev->dev);\n" ">>>> int nreset_gpio = dssdev->reset_gpio;\n" ">>>> \n" ">>>> + if (dssdev->state != OMAP_DSS_DISPLAY_ACTIVE)\n" @@ -252,4 +253,4 @@ ">> \n" > -c84183e2b4de15539a792d4f693bf464f97bd74214a0f53de0fe42c29187bfb5 +1e0d73429cfb195bade595d150a086eea47a64c6d533ec7a42ab06f3aab0812b
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.