diff for duplicates of <30872348.jm2GxWdDk6@avalon> diff --git a/a/1.txt b/N1/1.txt index 13cbeb6..880ee59 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -21,9 +21,9 @@ On Wednesday 08 January 2014 09:28:59 Geert Uytterhoeven wrote: > >> rspi_enable_irq(rspi, enable_bit); > >> ret = wait_event_timeout(rspi->wait, rspi->spsr & wait_mask, HZ); > >> -> >> - if (ret = 0 && !(rspi->spsr & wait_mask)) +> >> - if (ret == 0 && !(rspi->spsr & wait_mask)) > >> - return -ETIMEDOUT; -> >> + if (ret = 0 && !(rspi->spsr & wait_mask)) { +> >> + if (ret == 0 && !(rspi->spsr & wait_mask)) { > >> + u8 spsr = rspi_read8(rspi, RSPI_SPSR); > >> + printk("*** rspi->spsr = 0x%02x, real spsr = 0x%02x, > >> wait_mask => @@ -66,3 +66,8 @@ value of rspi->spsr. Regards, Laurent Pinchart + +-- +To unsubscribe from this list: send the line "unsubscribe linux-spi" in +the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index 126f9de..5534a24 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,9 +2,9 @@ "ref\06231184.EMt0gDqh7K@avalon\0" "ref\0CAMuHMdWDwF+KcNPrKgjvH6w7Uxn-iON+nQz_+Z_RTU_yV7SVog@mail.gmail.com\0" "ref\0CAMuHMdWDwF+KcNPrKgjvH6w7Uxn-iON+nQz_+Z_RTU_yV7SVog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org\0" - "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" + "From\0Laurent Pinchart <laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org>\0" "Subject\0Re: spi-rspi I/O errors\0" - "Date\0Wed, 08 Jan 2014 08:41:27 +0000\0" + "Date\0Wed, 08 Jan 2014 09:41:27 +0100\0" "To\0Geert Uytterhoeven <geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>\0" "Cc\0linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" " Linux-sh list <linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>\0" @@ -33,9 +33,9 @@ "> >> rspi_enable_irq(rspi, enable_bit);\n" "> >> ret = wait_event_timeout(rspi->wait, rspi->spsr & wait_mask, HZ);\n" "> >> \n" - "> >> - if (ret = 0 && !(rspi->spsr & wait_mask))\n" + "> >> - if (ret == 0 && !(rspi->spsr & wait_mask))\n" "> >> - return -ETIMEDOUT;\n" - "> >> + if (ret = 0 && !(rspi->spsr & wait_mask)) {\n" + "> >> + if (ret == 0 && !(rspi->spsr & wait_mask)) {\n" "> >> + u8 spsr = rspi_read8(rspi, RSPI_SPSR);\n" "> >> + printk(\"*** rspi->spsr = 0x%02x, real spsr = 0x%02x,\n" "> >> wait_mask => \n" @@ -77,6 +77,11 @@ "-- \n" "Regards,\n" "\n" - Laurent Pinchart + "Laurent Pinchart\n" + "\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe linux-spi\" in\n" + "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -f2528619dc3e9b175e1a4f0da43eacca8306630d9eced91d3750057b22ff6a5e +7bf78fd78f52058ab21ce260ec9d8134fae771344bec123fb460fca032311ff4
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.