diff for duplicates of <3907390.ScJmzH11HD@avalon> diff --git a/a/1.txt b/N1/1.txt index 76718f8..0d7437a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -24,7 +24,7 @@ Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > channel) int r; > u32 irq; > -> - if (dispc_mgr_is_enabled(channel) = false) +> - if (dispc_mgr_is_enabled(channel) == false) > + if (!dispc_mgr_is_enabled(channel)) > return; > @@ -33,7 +33,7 @@ Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > int r; > u32 irq_mask; > -> - if (dispc_mgr_is_enabled(OMAP_DSS_CHANNEL_DIGIT) = true) +> - if (dispc_mgr_is_enabled(OMAP_DSS_CHANNEL_DIGIT) == true) > + if (dispc_mgr_is_enabled(OMAP_DSS_CHANNEL_DIGIT)) > return; > @@ -42,7 +42,7 @@ Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > u32 irq_mask; > int num_irqs; > -> - if (dispc_mgr_is_enabled(OMAP_DSS_CHANNEL_DIGIT) = false) +> - if (dispc_mgr_is_enabled(OMAP_DSS_CHANNEL_DIGIT) == false) > + if (!dispc_mgr_is_enabled(OMAP_DSS_CHANNEL_DIGIT)) > return; > @@ -55,7 +55,7 @@ Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > void dispc_mgr_go(enum omap_channel channel) > { -> - WARN_ON(dispc_mgr_is_enabled(channel) = false); +> - WARN_ON(dispc_mgr_is_enabled(channel) == false); > + WARN_ON(!dispc_mgr_is_enabled(channel)); > WARN_ON(dispc_mgr_go_busy(channel)); > @@ -64,7 +64,7 @@ Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > DSSDBG("hsync %luHz, vsync %luHz\n", ht, vt); > } else { -> - if (t.interlace = true) +> - if (t.interlace == true) > + if (t.interlace) > t.y_res /= 2; > } @@ -73,9 +73,9 @@ Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > omap_channel channel, u16 lck_div, dispc_write_reg(DISPC_DIVISORo(channel), > FLD_VAL(lck_div, 23, 16) | FLD_VAL(pck_div, 7, 0)); > -> - if (dss_has_feature(FEAT_CORE_CLK_DIV) = false && +> - if (dss_has_feature(FEAT_CORE_CLK_DIV) == false && > + if (!dss_has_feature(FEAT_CORE_CLK_DIV) && -> channel = OMAP_DSS_CHANNEL_LCD) +> channel == OMAP_DSS_CHANNEL_LCD) > dispc.core_clk_rate = dispc_fclk_rate() / lck_div; > } > diff --git a/drivers/video/fbdev/omap2/dss/manager.c @@ -86,7 +86,7 @@ Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > omap_overlay_manager *mgr, return -EINVAL; > > /* fifohandcheck should be used only with stallmode */ -> - if (stallmode = false && fifohandcheck = true) +> - if (stallmode == false && fifohandcheck == true) > + if (!stallmode && fifohandcheck) > return -EINVAL; > diff --git a/a/content_digest b/N1/content_digest index 06ee4ed..85fe67c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01444912178-15989-1-git-send-email-luisbg@osg.samsung.com\0" "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" "Subject\0Re: [PATCH] OMAPDSS: DISPC: Remove boolean comparisons\0" - "Date\0Thu, 15 Oct 2015 13:10:27 +0000\0" + "Date\0Thu, 15 Oct 2015 16:10:27 +0300\0" "To\0Luis de Bethencourt <luisbg@osg.samsung.com>\0" "Cc\0linux-kernel@vger.kernel.org" tomi.valkeinen@ti.com @@ -36,7 +36,7 @@ "> channel) int r;\n" "> \tu32 irq;\n" "> \n" - "> -\tif (dispc_mgr_is_enabled(channel) = false)\n" + "> -\tif (dispc_mgr_is_enabled(channel) == false)\n" "> +\tif (!dispc_mgr_is_enabled(channel))\n" "> \t\treturn;\n" "> \n" @@ -45,7 +45,7 @@ "> \tint r;\n" "> \tu32 irq_mask;\n" "> \n" - "> -\tif (dispc_mgr_is_enabled(OMAP_DSS_CHANNEL_DIGIT) = true)\n" + "> -\tif (dispc_mgr_is_enabled(OMAP_DSS_CHANNEL_DIGIT) == true)\n" "> +\tif (dispc_mgr_is_enabled(OMAP_DSS_CHANNEL_DIGIT))\n" "> \t\treturn;\n" "> \n" @@ -54,7 +54,7 @@ "> \tu32 irq_mask;\n" "> \tint num_irqs;\n" "> \n" - "> -\tif (dispc_mgr_is_enabled(OMAP_DSS_CHANNEL_DIGIT) = false)\n" + "> -\tif (dispc_mgr_is_enabled(OMAP_DSS_CHANNEL_DIGIT) == false)\n" "> +\tif (!dispc_mgr_is_enabled(OMAP_DSS_CHANNEL_DIGIT))\n" "> \t\treturn;\n" "> \n" @@ -67,7 +67,7 @@ "> \n" "> void dispc_mgr_go(enum omap_channel channel)\n" "> {\n" - "> -\tWARN_ON(dispc_mgr_is_enabled(channel) = false);\n" + "> -\tWARN_ON(dispc_mgr_is_enabled(channel) == false);\n" "> +\tWARN_ON(!dispc_mgr_is_enabled(channel));\n" "> \tWARN_ON(dispc_mgr_go_busy(channel));\n" "> \n" @@ -76,7 +76,7 @@ "> \n" "> \t\tDSSDBG(\"hsync %luHz, vsync %luHz\\n\", ht, vt);\n" "> \t} else {\n" - "> -\t\tif (t.interlace = true)\n" + "> -\t\tif (t.interlace == true)\n" "> +\t\tif (t.interlace)\n" "> \t\t\tt.y_res /= 2;\n" "> \t}\n" @@ -85,9 +85,9 @@ "> omap_channel channel, u16 lck_div, dispc_write_reg(DISPC_DIVISORo(channel),\n" "> \t\t\tFLD_VAL(lck_div, 23, 16) | FLD_VAL(pck_div, 7, 0));\n" "> \n" - "> -\tif (dss_has_feature(FEAT_CORE_CLK_DIV) = false &&\n" + "> -\tif (dss_has_feature(FEAT_CORE_CLK_DIV) == false &&\n" "> +\tif (!dss_has_feature(FEAT_CORE_CLK_DIV) &&\n" - "> \t\t\tchannel = OMAP_DSS_CHANNEL_LCD)\n" + "> \t\t\tchannel == OMAP_DSS_CHANNEL_LCD)\n" "> \t\tdispc.core_clk_rate = dispc_fclk_rate() / lck_div;\n" "> }\n" "> diff --git a/drivers/video/fbdev/omap2/dss/manager.c\n" @@ -98,7 +98,7 @@ "> omap_overlay_manager *mgr, return -EINVAL;\n" "> \n" "> \t/* fifohandcheck should be used only with stallmode */\n" - "> -\tif (stallmode = false && fifohandcheck = true)\n" + "> -\tif (stallmode == false && fifohandcheck == true)\n" "> +\tif (!stallmode && fifohandcheck)\n" "> \t\treturn -EINVAL;\n" "> \n" @@ -109,4 +109,4 @@ "\n" Laurent Pinchart -edf28e421007bb612dafce14481ede1236f2a727a5c78a081cc0373cfca9e89b +7e7b4aa7dbec986141d252473078c2b1873cc513811bdb52b49942041f71fb0f
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.