diff for duplicates of <20120502124709.30480.98463.sendpatchset@w520> diff --git a/a/1.txt b/N1/1.txt index c745f4d..35722c6 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,7 +18,7 @@ Signed-off-by: Magnus Damm <damm@opensource.se> -#if defined(CONFIG_SERIAL_8250_RM9K) -static int _serial_dl_read(struct uart_8250_port *up) -{ -- return (up->port.iotype = UPIO_RM9000) ? +- return (up->port.iotype == UPIO_RM9000) ? - (((__raw_readl(up->port.membase + 0x10) << 8) | - (__raw_readl(up->port.membase + 0x08) & 0xff)) & 0xffff) : - default_dl_read(up); @@ -26,7 +26,7 @@ Signed-off-by: Magnus Damm <damm@opensource.se> - -static void _serial_dl_write(struct uart_8250_port *up, int value) -{ -- if (up->port.iotype = UPIO_RM9000) { +- if (up->port.iotype == UPIO_RM9000) { - __raw_writel(value, up->port.membase + 0x08); - __raw_writel(value >> 8, up->port.membase + 0x10); - } else { diff --git a/a/content_digest b/N1/content_digest index 0b5cedc..b153149 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020120502124642.30480.41373.sendpatchset@w520\0" "From\0Magnus Damm <magnus.damm@gmail.com>\0" "Subject\0[PATCH 03/06] serial8250: Use dl_read()/dl_write() on RM9K\0" - "Date\0Wed, 02 May 2012 12:47:09 +0000\0" + "Date\0Wed, 02 May 2012 21:47:09 +0900\0" "To\0linux-serial@vger.kernel.org\0" "Cc\0arnd@arndb.de" swarren@wwwdotorg.org @@ -38,7 +38,7 @@ "-#if defined(CONFIG_SERIAL_8250_RM9K)\n" "-static int _serial_dl_read(struct uart_8250_port *up)\n" "-{\n" - "-\treturn\t(up->port.iotype = UPIO_RM9000) ?\n" + "-\treturn\t(up->port.iotype == UPIO_RM9000) ?\n" "-\t\t(((__raw_readl(up->port.membase + 0x10) << 8) |\n" "-\t\t(__raw_readl(up->port.membase + 0x08) & 0xff)) & 0xffff) :\n" "-\t\tdefault_dl_read(up);\n" @@ -46,7 +46,7 @@ "-\n" "-static void _serial_dl_write(struct uart_8250_port *up, int value)\n" "-{\n" - "-\tif (up->port.iotype = UPIO_RM9000) {\n" + "-\tif (up->port.iotype == UPIO_RM9000) {\n" "-\t\t__raw_writel(value, up->port.membase + 0x08);\n" "-\t\t__raw_writel(value >> 8, up->port.membase + 0x10);\n" "-\t} else {\n" @@ -145,4 +145,4 @@ " \tcase UPIO_AU:\n" " \t\tp->serial_in = au_serial_in;" -d95f21114f774af305b60a19c9649b7bc93ec8c8bf4b7953a7516e4522d1a40e +399fef44ec7bf856c8dedad4f4e2949d859afe5f8f3cc7ff5c8bbdb71bd773de
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.