diff for duplicates of <53034667.80603@ti.com> diff --git a/a/1.txt b/N1/1.txt index 0c9967f..3e24981 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -56,7 +56,7 @@ Archit > > - ctx = dss_get_ctx_loss_count(); > - -> - if (ctx >= 0 && ctx = dispc.ctx_loss_cnt) +> - if (ctx >= 0 && ctx == dispc.ctx_loss_cnt) > - return; > - > - DSSDBG("ctx_loss_count: saved %d, current %d\n", @@ -75,7 +75,7 @@ Archit > + * _omap_dispc_initial_config(). We can thus use it to detect if > + * we have lost register context. > + */ -> + if (REG_GET(DISPC_CONFIG, 2, 1) = OMAP_DSS_LOAD_FRAME_ONLY) +> + if (REG_GET(DISPC_CONFIG, 2, 1) == OMAP_DSS_LOAD_FRAME_ONLY) > + return 0; > + > _omap_dispc_initial_config(); diff --git a/a/content_digest b/N1/content_digest index 682db1e..5aac504 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01392366572-31729-1-git-send-email-tomi.valkeinen@ti.com\0" "From\0Archit Taneja <archit@ti.com>\0" "Subject\0Re: [PATCH 1/2] OMAPDSS: use DISPC register to detect context loss\0" - "Date\0Tue, 18 Feb 2014 11:51:19 +0000\0" + "Date\0Tue, 18 Feb 2014 17:09:19 +0530\0" "To\0Tomi Valkeinen <tomi.valkeinen@ti.com>" linux-fbdev@vger.kernel.org " linux-omap@vger.kernel.org\0" @@ -66,7 +66,7 @@ ">\n" "> -\tctx = dss_get_ctx_loss_count();\n" "> -\n" - "> -\tif (ctx >= 0 && ctx = dispc.ctx_loss_cnt)\n" + "> -\tif (ctx >= 0 && ctx == dispc.ctx_loss_cnt)\n" "> -\t\treturn;\n" "> -\n" "> -\tDSSDBG(\"ctx_loss_count: saved %d, current %d\\n\",\n" @@ -85,7 +85,7 @@ "> +\t * _omap_dispc_initial_config(). We can thus use it to detect if\n" "> +\t * we have lost register context.\n" "> +\t */\n" - "> +\tif (REG_GET(DISPC_CONFIG, 2, 1) = OMAP_DSS_LOAD_FRAME_ONLY)\n" + "> +\tif (REG_GET(DISPC_CONFIG, 2, 1) == OMAP_DSS_LOAD_FRAME_ONLY)\n" "> +\t\treturn 0;\n" "> +\n" "> \t_omap_dispc_initial_config();\n" @@ -93,4 +93,4 @@ "> \tdispc_restore_context();\n" > -2cbcbad95e8bab2b9c699e3f0fb6aa6beff13d19c433f5d9336274a88b2e2b27 +a997b9c39e0ad66bbbbd974a40d3a8509708561defa02eccc63eb51a015f4d73
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.