RE: [PATCH v4 1/2] spi_topcliff_pch: support new device ML7213 IOH

2011-05-19 Thread Tomoya MORINAGA
Hi Grant Could you review this patch ASAP? There is little time to be integrated to 2.6.40. Thanks, - Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD. > -Original Message- > From: linux-kernel-ow...@vger.kernel.org > [mailto:linux-kernel-ow...@vger.ke

Re: [PATCH resend] spi/amba-pl022: work in polling or interrupt mode if pl022_dma_probe fails

2011-05-19 Thread Grant Likely
On Mon, May 16, 2011 at 09:40:10AM +0530, Viresh Kumar wrote: > If pl022_dma_probe fails, we can try to transfer data in polling or interrupt > mode. Also, set platform_info->enable_dma to 0, so that no other code tries to > use dma. > > Signed-off-by: Viresh Kumar > Acked-by: Linus Walleij Mer

Re: [PATCH 2/2] spi: spi_s3c24xx: Use spi_bitbang_stop instead of spi_unregister_master in s3c24xx_spi_remove

2011-05-19 Thread Grant Likely
On Sun, May 15, 2011 at 07:35:16AM +0800, Axel Lin wrote: > Calling spi_bitbang_stop() will also destroy bitbang->workqueue, > which is created by calling spi_bitbang_start() in s3c24xx_spi_probe(). > > Signed-off-by: Axel Lin Applied, thanks. g. > --- > drivers/spi/spi_s3c24xx.c |2 +- >

Re: [PATCH 1/2] spi: spi_nuc900: Use spi_bitbang_stop instead of spi_unregister_master in nuc900_spi_remove

2011-05-19 Thread Grant Likely
On Sun, May 15, 2011 at 07:33:28AM +0800, Axel Lin wrote: > Calling spi_bitbang_stop() will also destroy bitbang->workqueue, > which is created by calling spi_bitbang_start() in nuc900_spi_probe(). > > Signed-off-by: Axel Lin Applied, thanks. g. > --- > drivers/spi/spi_nuc900.c |2 +- > 1

Re: [PATCH 1/2] spi: spi_sh: calling spi_unregister_master instead of spi_master_put in spi_sh_remove

2011-05-19 Thread Grant Likely
On Wed, May 11, 2011 at 09:27:00PM +0800, Axel Lin wrote: > spi_master_put() should only be used in error handling. > Once spi_register_master() returns success, we should call > spi_unregister_master() instead. > > Signed-off-by: Axel Lin Applied, thanks. g. > --- > drivers/spi/spi_sh.c |

Re: [PATCH] spi/amba-pl022: work in polling or interrupt mode if pl022_dma_probe fails

2011-05-19 Thread Grant Likely
On Fri, May 13, 2011 at 06:49:39PM +0530, viresh kumar wrote: > On 5/13/11, Viresh Kumar wrote: > > diff --git a/drivers/spi/amba-pl022.c b/drivers/spi/amba-pl022.c > > index 08de58e..82b98b8 100644 > > --- a/drivers/spi/amba-pl022.c > > +++ b/drivers/spi/amba-pl022.c > > @@ -1063,7 +1063,7 @@ sta

Re: [PATCH 2/2] spi: spi_tegra: calling spi_unregister_master instead of spi_master_put in spi_tegra_remove

2011-05-19 Thread Grant Likely
On Wed, May 11, 2011 at 09:28:16PM +0800, Axel Lin wrote: > spi_master_put() should only be used in error handling. > Once spi_register_master() returns success, we should call > spi_unregister_master() instead. > > Signed-off-by: Axel Lin Applied, thanks. g. > --- > drivers/spi/spi_tegra.c |

Re: [PATCH] spi: Use void pointers for data in simple SPI I/O operations

2011-05-19 Thread Grant Likely
On Wed, May 11, 2011 at 12:09:30AM +0200, Mark Brown wrote: > Currently the simple SPI I/O operations all take pointers to u8 * buffers > to operate on. This creates needless type compatibility issues and the > underlying spi_transfer structure uses void pointers anyway so convert the > API over to

Re: [PATCH 1/2] spi/pl022: timeout on polled transfer v2

2011-05-19 Thread Linus Walleij
2011/5/19 Vitaly Wool : > On Thu, May 19, 2011 at 7:36 PM, Linus Walleij > wrote: >>> >>> just out of curiosity: is it a busy wait? Looks like it is... >> >> Yep that's the polling mode part. IRQ and DMA mode should >> be the norm I guess. >> >> Magnus: do you have a specific use case for this th

Re: [PATCH] spi/pl022: use cpu_relax in the busy loop

2011-05-19 Thread Grant Likely
On Thu, May 19, 2011 at 08:01:25PM +0200, Linus Walleij wrote: > This relaxes the cpu in the polling busy-wait loop. > > Reported-by: Vitaly Wool > Signed-off-by: Linus Walleij Applied, thanks. g. > --- > drivers/spi/amba-pl022.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) >

[PATCH] spi/pl022: use cpu_relax in the busy loop

2011-05-19 Thread Linus Walleij
This relaxes the cpu in the polling busy-wait loop. Reported-by: Vitaly Wool Signed-off-by: Linus Walleij --- drivers/spi/amba-pl022.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/spi/amba-pl022.c b/drivers/spi/amba-pl022.c index 18667de..8a2b88a 100644 --- a

Re: [PATCH 1/2] spi/pl022: timeout on polled transfer v2

2011-05-19 Thread Vitaly Wool
On Thu, May 19, 2011 at 7:36 PM, Linus Walleij wrote: >> >> just out of curiosity: is it a busy wait? Looks like it is... > > Yep that's the polling mode part. IRQ and DMA mode should > be the norm I guess. > > Magnus: do you have a specific use case for this thing? Well, adding cpu_relax() somew

Re: [PATCH 1/2] spi/pl022: timeout on polled transfer v2

2011-05-19 Thread Linus Walleij
2011/5/19 Vitaly Wool : >> + >> +               timeout = jiffies + msecs_to_jiffies(SPI_POLLING_TIMEOUT); >> +               while (pl022->tx < pl022->tx_end || pl022->rx < >> pl022->rx_end) { >> +                       time = jiffies; >>                        readwriter(pl022); >> +          

Re: [PATCH 1/2] spi/pl022: timeout on polled transfer v2

2011-05-19 Thread Vitaly Wool
Hi Linus, On Thu, May 19, 2011 at 6:05 PM, Linus Walleij wrote: > From: Magnus Templing > > This adds the missing handling of polling timeouts and deletes > our last todo. > > Signed-off-by: Magnus Templing > Reviewed-by: Srinidhi Kasagar > [Fixups from review by Wolfram Sang] > Signed-off-by:

Re: [PATCH 2/2] spi/pl022: mark driver non-experimental

2011-05-19 Thread Grant Likely
On Thu, May 19, 2011 at 02:13:19PM +0200, Linus Walleij wrote: > This driver has no TODO, and is now used on several platforms: > ARM, U300, Ux500, SPEAr and more. So drop the EXPERIMENTAL > requirement. > > Signed-off-by: Linus Walleij Applied, thanks. g. > --- > drivers/spi/Kconfig |4 +

Re: [PATCH 1/2] spi/pl022: timeout on polled transfer v2

2011-05-19 Thread Grant Likely
On Thu, May 19, 2011 at 06:05:34PM +0200, Linus Walleij wrote: > From: Magnus Templing > > This adds the missing handling of polling timeouts and deletes > our last todo. > > Signed-off-by: Magnus Templing > Reviewed-by: Srinidhi Kasagar > [Fixups from review by Wolfram Sang] > Signed-off-by:

[PATCH 1/2] spi/pl022: timeout on polled transfer v2

2011-05-19 Thread Linus Walleij
From: Magnus Templing This adds the missing handling of polling timeouts and deletes our last todo. Signed-off-by: Magnus Templing Reviewed-by: Srinidhi Kasagar [Fixups from review by Wolfram Sang] Signed-off-by: Linus Walleij --- drivers/spi/amba-pl022.c | 23 +++ 1 fi

Re: [PATCH 1/2] spi/pl022: timeout on polled transfer

2011-05-19 Thread Linus Walleij
On Thu, May 19, 2011 at 2:44 PM, Wolfram Sang wrote: > Hi, > >> -             /* FIXME: insert a timeout so we don't hang here indefinitely >> */ >> -             while (pl022->tx < pl022->tx_end || pl022->rx < pl022->rx_end) >> + >> +             timeout = jiffies + msecs_to_jiffies(SPI_POLLING

Une montre d'exception à partir d'un centime sur NEWBIDDER

2011-05-19 Thread Newbidder
Une montre d'exception à partir d'un centime sur newbidder http://p4tre.emv3.com/HS?a=ENX7Cqm3dpdG8SA9MKJO8nTnGHxKLI8scvcStGb5lw8W0bBhOG5mpqVsje_HhdBefVIC -- What Every C/C++ and Fortran developer Should Know! Read this a

[PATCH 2/2] spi/pl022: mark driver non-experimental

2011-05-19 Thread Linus Walleij
This driver has no TODO, and is now used on several platforms: ARM, U300, Ux500, SPEAr and more. So drop the EXPERIMENTAL requirement. Signed-off-by: Linus Walleij --- drivers/spi/Kconfig |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/Kconfig b/drivers/sp

[PATCH 1/2] spi/pl022: timeout on polled transfer

2011-05-19 Thread Linus Walleij
From: Magnus Templing This adds the missing handling of polling timeouts and deletes our last todo. Signed-off-by: Magnus Templing Reviewed-by: Srinidhi Kasagar Signed-off-by: Linus Walleij --- drivers/spi/amba-pl022.c | 22 ++ 1 files changed, 14 insertions(+), 8 delet

[SPAM] Profitez de 2689 euros d'economies avec les chaudieres nouvelle generation

2011-05-19 Thread De Dietrich
-- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance