All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20080530110239.21680.46731.sendpatchset@rx1.opensource.se>

diff --git a/a/1.txt b/N1/1.txt
index 713a271..95248af 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -192,7 +192,7 @@ Signed-off-by: Magnus Damm <damm@igel.co.jp>
 +
 +static int lcdc_chan_is_sublcd(struct sh_mobile_lcdc_chan *chan)
 +{
-+	return chan->cfg.chan == LCDC_CHAN_SUBLCD;
++	return chan->cfg.chan = LCDC_CHAN_SUBLCD;
 +}
 +
 +static void lcdc_sys_write_index(void *handle, unsigned long data)
@@ -248,9 +248,9 @@ Signed-off-by: Magnus Damm <damm@igel.co.jp>
 +		if (lcdc_read(priv, _LDCNT2R) & priv->ch[k].enabled)
 +			while (1) {
 +				tmp = lcdc_read_chan(&priv->ch[k], LDPMR) & 3;
-+				if (start && tmp == 3)
++				if (start && tmp = 3)
 +					break;
-+				if (!start && tmp == 0)
++				if (!start && tmp = 0)
 +					break;
 +				cpu_relax();
 +			}
@@ -296,7 +296,7 @@ Signed-off-by: Magnus Damm <damm@igel.co.jp>
 +		if (!m)
 +			continue;
 +
-+		if (m == 1)
++		if (m = 1)
 +			m = 1 << 6;
 +		tmp |= m << (lcdc_chan_is_sublcd(ch) ? 8 : 0);
 +
@@ -381,7 +381,7 @@ Signed-off-by: Magnus Damm <damm@igel.co.jp>
 +		/* set bpp format in PKF[4:0] */
 +		tmp = lcdc_read_chan(ch, LDDFR);
 +		tmp &= ~(0x0001001f);
-+		tmp |= (priv->ch[k].info.var.bits_per_pixel == 16) ? 3 : 0;
++		tmp |= (priv->ch[k].info.var.bits_per_pixel = 16) ? 3 : 0;
 +		lcdc_write_chan(ch, LDDFR, tmp);
 +
 +		/* point out our frame buffer */
@@ -457,7 +457,7 @@ Signed-off-by: Magnus Damm <damm@igel.co.jp>
 +
 +	/* SUBLCD only supports SYS interface */
 +	if (lcdc_chan_is_sublcd(ch)) {
-+		if (ifm == 0)
++		if (ifm = 0)
 +			goto bad;
 +		else
 +			ifm = 0;
@@ -594,7 +594,7 @@ Signed-off-by: Magnus Damm <damm@igel.co.jp>
 +	}
 +
 +	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-+	if (res == NULL) {
++	if (res = NULL) {
 +		dev_err(&pdev->dev, "cannot find IO resource\n");
 +		error = -ENOENT;
 +		goto err0;
@@ -712,7 +712,7 @@ Signed-off-by: Magnus Damm <damm@igel.co.jp>
 +		dev_info(info->dev,
 +			 "registered %s/%s as %dx%d %dbpp.\n",
 +			 pdev->name,
-+			 (priv->ch[i].cfg.chan == LCDC_CHAN_MAINLCD) ?
++			 (priv->ch[i].cfg.chan = LCDC_CHAN_MAINLCD) ?
 +			 "mainlcd" : "sublcd",
 +			 (int) priv->ch[i].cfg.lcd_cfg.xres,
 +			 (int) priv->ch[i].cfg.lcd_cfg.yres,
@@ -855,8 +855,3 @@ Signed-off-by: Magnus Damm <damm@igel.co.jp>
 +};
 +
 +#endif /* __ASM_SH_MOBILE_LCDC_H__ */
-
--------------------------------------------------------------------------
-This SF.net email is sponsored by: Microsoft
-Defy all challenges. Microsoft(R) Visual Studio 2008.
-http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
diff --git a/a/content_digest b/N1/content_digest
index 8f104e7..a799c34 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,7 @@
+ "ref\020080529092451.19666.91541.sendpatchset@rx1.opensource.se\0"
  "From\0Magnus Damm <magnus.damm@gmail.com>\0"
  "Subject\0[PATCH] video: SuperH Mobile LCDC Driver V2\0"
- "Date\0Fri, 30 May 2008 20:02:39 +0900\0"
+ "Date\0Fri, 30 May 2008 11:02:39 +0000\0"
  "To\0linux-fbdev-devel@lists.sourceforge.net\0"
  "Cc\0iwamatsu@nigauri.org"
   linux-sh@vger.kernel.org
@@ -203,7 +204,7 @@
  "+\n"
  "+static int lcdc_chan_is_sublcd(struct sh_mobile_lcdc_chan *chan)\n"
  "+{\n"
- "+\treturn chan->cfg.chan == LCDC_CHAN_SUBLCD;\n"
+ "+\treturn chan->cfg.chan = LCDC_CHAN_SUBLCD;\n"
  "+}\n"
  "+\n"
  "+static void lcdc_sys_write_index(void *handle, unsigned long data)\n"
@@ -259,9 +260,9 @@
  "+\t\tif (lcdc_read(priv, _LDCNT2R) & priv->ch[k].enabled)\n"
  "+\t\t\twhile (1) {\n"
  "+\t\t\t\ttmp = lcdc_read_chan(&priv->ch[k], LDPMR) & 3;\n"
- "+\t\t\t\tif (start && tmp == 3)\n"
+ "+\t\t\t\tif (start && tmp = 3)\n"
  "+\t\t\t\t\tbreak;\n"
- "+\t\t\t\tif (!start && tmp == 0)\n"
+ "+\t\t\t\tif (!start && tmp = 0)\n"
  "+\t\t\t\t\tbreak;\n"
  "+\t\t\t\tcpu_relax();\n"
  "+\t\t\t}\n"
@@ -307,7 +308,7 @@
  "+\t\tif (!m)\n"
  "+\t\t\tcontinue;\n"
  "+\n"
- "+\t\tif (m == 1)\n"
+ "+\t\tif (m = 1)\n"
  "+\t\t\tm = 1 << 6;\n"
  "+\t\ttmp |= m << (lcdc_chan_is_sublcd(ch) ? 8 : 0);\n"
  "+\n"
@@ -392,7 +393,7 @@
  "+\t\t/* set bpp format in PKF[4:0] */\n"
  "+\t\ttmp = lcdc_read_chan(ch, LDDFR);\n"
  "+\t\ttmp &= ~(0x0001001f);\n"
- "+\t\ttmp |= (priv->ch[k].info.var.bits_per_pixel == 16) ? 3 : 0;\n"
+ "+\t\ttmp |= (priv->ch[k].info.var.bits_per_pixel = 16) ? 3 : 0;\n"
  "+\t\tlcdc_write_chan(ch, LDDFR, tmp);\n"
  "+\n"
  "+\t\t/* point out our frame buffer */\n"
@@ -468,7 +469,7 @@
  "+\n"
  "+\t/* SUBLCD only supports SYS interface */\n"
  "+\tif (lcdc_chan_is_sublcd(ch)) {\n"
- "+\t\tif (ifm == 0)\n"
+ "+\t\tif (ifm = 0)\n"
  "+\t\t\tgoto bad;\n"
  "+\t\telse\n"
  "+\t\t\tifm = 0;\n"
@@ -605,7 +606,7 @@
  "+\t}\n"
  "+\n"
  "+\tres = platform_get_resource(pdev, IORESOURCE_MEM, 0);\n"
- "+\tif (res == NULL) {\n"
+ "+\tif (res = NULL) {\n"
  "+\t\tdev_err(&pdev->dev, \"cannot find IO resource\\n\");\n"
  "+\t\terror = -ENOENT;\n"
  "+\t\tgoto err0;\n"
@@ -723,7 +724,7 @@
  "+\t\tdev_info(info->dev,\n"
  "+\t\t\t \"registered %s/%s as %dx%d %dbpp.\\n\",\n"
  "+\t\t\t pdev->name,\n"
- "+\t\t\t (priv->ch[i].cfg.chan == LCDC_CHAN_MAINLCD) ?\n"
+ "+\t\t\t (priv->ch[i].cfg.chan = LCDC_CHAN_MAINLCD) ?\n"
  "+\t\t\t \"mainlcd\" : \"sublcd\",\n"
  "+\t\t\t (int) priv->ch[i].cfg.lcd_cfg.xres,\n"
  "+\t\t\t (int) priv->ch[i].cfg.lcd_cfg.yres,\n"
@@ -865,11 +866,6 @@
  "+\tstruct sh_mobile_lcdc_chan_cfg ch[2];\n"
  "+};\n"
  "+\n"
- "+#endif /* __ASM_SH_MOBILE_LCDC_H__ */\n"
- "\n"
- "-------------------------------------------------------------------------\n"
- "This SF.net email is sponsored by: Microsoft\n"
- "Defy all challenges. Microsoft(R) Visual Studio 2008.\n"
- http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
+ +#endif /* __ASM_SH_MOBILE_LCDC_H__ */
 
-6b337e202a05b4c6894dc663f56dfadc737201a4725b6421a719d056db2e97c1
+cf23bda57bf2f220556a542092c4f34d5c7463a55a81cfd9c37c50bba189490f

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.