diff for duplicates of <20080731104354.GA21764@linux-sh.org> diff --git a/a/1.txt b/N1/1.txt index 58899f3..5f49024 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -175,7 +175,7 @@ index 97dbfa2..0c2c4b2 100644 + u16 cmd = (command << 8) | command; + + for (i = 0; i < len; i += 2) { -+ if (len - i == 1) ++ if (len - i = 1) + cmd = command << 8; + iowrite16(cmd, dev->base + SMSADR + i); + dev_dbg(dev->dev, "command data[%x] 0x%04x\n", i/2, cmd); @@ -209,7 +209,7 @@ index 97dbfa2..0c2c4b2 100644 +{ + u16 tmp = ioread16(dev->base + SMCR); + -+ if ((tmp & (SMCR_IRIC | SMCR_ACKE)) == SMCR_ACKE) { ++ if ((tmp & (SMCR_IRIC | SMCR_ACKE)) = SMCR_ACKE) { + dev_warn(dev->dev, "ack abnormality\n"); + return highlander_i2c_reset(dev); + } diff --git a/a/content_digest b/N1/content_digest index d5855bb..bc93122 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,7 @@ + "ref\020080325063236.GA29012@linux-sh.org\0" "From\0Paul Mundt <lethal@linux-sh.org>\0" "Subject\0[PATCH] i2c: Renesas Highlander FPGA SMBus support, v2.\0" - "Date\0Thu, 31 Jul 2008 19:43:54 +0900\0" + "Date\0Thu, 31 Jul 2008 10:43:54 +0000\0" "To\0Jean Delvare <khali@linux-fr.org>\0" "Cc\0Trent Piepho <xyzzy@speakeasy.org>" Andrew Morton <akpm@linux-foundation.org> @@ -185,7 +186,7 @@ "+\tu16 cmd = (command << 8) | command;\n" "+\n" "+\tfor (i = 0; i < len; i += 2) {\n" - "+\t\tif (len - i == 1)\n" + "+\t\tif (len - i = 1)\n" "+\t\t\tcmd = command << 8;\n" "+\t\tiowrite16(cmd, dev->base + SMSADR + i);\n" "+\t\tdev_dbg(dev->dev, \"command data[%x] 0x%04x\\n\", i/2, cmd);\n" @@ -219,7 +220,7 @@ "+{\n" "+\tu16 tmp = ioread16(dev->base + SMCR);\n" "+\n" - "+\tif ((tmp & (SMCR_IRIC | SMCR_ACKE)) == SMCR_ACKE) {\n" + "+\tif ((tmp & (SMCR_IRIC | SMCR_ACKE)) = SMCR_ACKE) {\n" "+\t\tdev_warn(dev->dev, \"ack abnormality\\n\");\n" "+\t\treturn highlander_i2c_reset(dev);\n" "+\t}\n" @@ -562,4 +563,4 @@ "+MODULE_PARM_DESC(iic_timeout, \"Set timeout value in msecs (default 1000 ms)\");\n" "+MODULE_PARM_DESC(iic_read_delay, \"Delay between data read cycles (default 0 ms)\");" -c3f72d3e302d230cfba901a056394c422bb69c35650d8ff800ee95cff754bc9c +68ba9fae34dc5e833e8f0d31301a397c8c0962f3e96ec9ce8daba2a9347f8cb4
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.