diff for duplicates of <4C6A55EA.1090407@windriver.com> diff --git a/a/1.txt b/N1/1.txt index 1566e21..24edc87 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -46,7 +46,7 @@ Bryan Wu 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); @@ -70,7 +70,7 @@ Bryan Wu 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); @@ -94,7 +94,7 @@ Bryan Wu 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); @@ -118,7 +118,7 @@ Bryan Wu 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); @@ -142,7 +142,7 @@ Bryan Wu 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) { @@ -166,7 +166,7 @@ Bryan Wu 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); @@ -190,7 +190,7 @@ Bryan Wu 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); diff --git a/a/content_digest b/N1/content_digest index 468b6ef..dc4d0ff 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\04C6A4FED.5020006@canonical.com\0" "From\0stanley.miao <stanley.miao@windriver.com>\0" "Subject\0Re: [PATCH V2] OMAP: DSS2: don't power off a panel twice\0" - "Date\0Tue, 17 Aug 2010 09:27:06 +0000\0" + "Date\0Tue, 17 Aug 2010 17:27:06 +0800\0" "To\0bryan.wu@canonical.com\0" "Cc\0linux-omap@vger.kernel.org" lwalkera@ieee.org @@ -60,7 +60,7 @@ ">>> \n" ">>> \tdev_dbg(&dssdev->dev, \"%s\\n\", __func__);\n" ">>> \n" - ">>> +\tif (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE)\n" + ">>> +\tif (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)\n" ">>> +\t\treturn 0;\n" ">>> +\n" ">>> \tmutex_lock(&md->mutex);\n" @@ -84,7 +84,7 @@ ">>> {\n" ">>> \tint r;\n" ">>> \n" - ">>> +\tif (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE)\n" + ">>> +\tif (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)\n" ">>> +\t\treturn 0;\n" ">>> +\n" ">>> \tr = omapdss_dpi_display_enable(dssdev);\n" @@ -108,7 +108,7 @@ ">>> {\n" ">>> \tint r;\n" ">>> \n" - ">>> +\tif (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE)\n" + ">>> +\tif (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)\n" ">>> +\t\treturn 0;\n" ">>> +\n" ">>> \tr = omapdss_dpi_display_enable(dssdev);\n" @@ -132,7 +132,7 @@ ">>> {\n" ">>> \tint r = 0;\n" ">>> \n" - ">>> +\tif (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE)\n" + ">>> +\tif (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)\n" ">>> +\t\treturn 0;\n" ">>> +\n" ">>> \tr = omapdss_dpi_display_enable(dssdev);\n" @@ -156,7 +156,7 @@ ">>> \tu8 id1, id2, id3;\n" ">>> \tint r;\n" ">>> \n" - ">>> +\tif (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE)\n" + ">>> +\tif (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)\n" ">>> +\t\treturn 0;\n" ">>> +\n" ">>> \tif (dssdev->platform_enable) {\n" @@ -180,7 +180,7 @@ ">>> {\n" ">>> \tint r;\n" ">>> \n" - ">>> +\tif (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE)\n" + ">>> +\tif (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)\n" ">>> +\t\treturn 0;\n" ">>> +\n" ">>> \tr = omapdss_dpi_display_enable(dssdev);\n" @@ -204,7 +204,7 @@ ">>> \tint nreset_gpio = dssdev->reset_gpio;\n" ">>> \tint r;\n" ">>> \n" - ">>> +\tif (dssdev->state = OMAP_DSS_DISPLAY_ACTIVE)\n" + ">>> +\tif (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)\n" ">>> +\t\treturn 0;\n" ">>> +\n" ">>> \tr = omapdss_dpi_display_enable(dssdev);\n" @@ -225,4 +225,4 @@ ">\n" > -89dcedd82509807efea379e0f5760d9bd6134b20db0a195c1033d6e7b3b0a842 +3cd9695b4b40e0f58cf4a06c164395c426a6fb2650f5f4103a1ee6cda90b07a4
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.