diff for duplicates of <4F21124D.6030601@renesas.com> diff --git a/a/1.txt b/N1/1.txt index 9324c24..5c2cead 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -23,18 +23,18 @@ index 70c8af9..79442c3 100644 unsigned long offset) { - writel(data, ss->addr + offset); -+ if (ss->width = 8) ++ if (ss->width == 8) + iowrite8(data, ss->addr + (offset >> 2)); -+ else if (ss->width = 32) ++ else if (ss->width == 32) + iowrite32(data, ss->addr + offset); } static unsigned long spi_sh_read(struct spi_sh_data *ss, unsigned long offset) { - return readl(ss->addr + offset); -+ if (ss->width = 8) ++ if (ss->width == 8) + return ioread8(ss->addr + (offset >> 2)); -+ else if (ss->width = 32) ++ else if (ss->width == 32) + return ioread32(ss->addr + offset); + else + return 0; diff --git a/a/content_digest b/N1/content_digest index ecd8255..7b941ad 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Shimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>\0" "Subject\0[PATCH] spi: spi-sh: add IORESOURCE_MEM_TYPE_MASK decoding for access size\0" - "Date\0Thu, 26 Jan 2012 08:43:57 +0000\0" + "Date\0Thu, 26 Jan 2012 17:43:57 +0900\0" "To\0Grant Likely <grant.likely@secretlab.ca>\0" "Cc\0spi-devel-general@lists.sourceforge.net" " SH-Linux <linux-sh@vger.kernel.org>\0" @@ -31,18 +31,18 @@ " \t\t\t unsigned long offset)\n" " {\n" "-\twritel(data, ss->addr + offset);\n" - "+\tif (ss->width = 8)\n" + "+\tif (ss->width == 8)\n" "+\t\tiowrite8(data, ss->addr + (offset >> 2));\n" - "+\telse if (ss->width = 32)\n" + "+\telse if (ss->width == 32)\n" "+\t\tiowrite32(data, ss->addr + offset);\n" " }\n" "\n" " static unsigned long spi_sh_read(struct spi_sh_data *ss, unsigned long offset)\n" " {\n" "-\treturn readl(ss->addr + offset);\n" - "+\tif (ss->width = 8)\n" + "+\tif (ss->width == 8)\n" "+\t\treturn ioread8(ss->addr + (offset >> 2));\n" - "+\telse if (ss->width = 32)\n" + "+\telse if (ss->width == 32)\n" "+\t\treturn ioread32(ss->addr + offset);\n" "+\telse\n" "+\t\treturn 0;\n" @@ -71,4 +71,4 @@ "-- \n" 1.7.1 -3048d8713bd409deec9092f67c77ad5387b916eb9cac27cb8c1bdb90f9ec64e9 +addf59d38afbe3f836768d9d004c1eb13b81768ac0cb8ef3d31234c0d7e862c0
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.