[PATCH 6/8] sdhci: Turn host->lock into a mutex

2013-10-16 Thread Jeremie Samuel
Finally, we can get rid of the host->lock spinlock, and turn it into a mutex. This patch does just this. Patch based on: http://thread.gmane.org/gmane.linux.kernel.mmc/2579. Signed-off-by: Anton Vorontsov Signed-off-by: Jeremie Samuel --- drivers/mmc/host/sdhci-esdhc-imx.c |4 +- drivers/

Re: [PATCH 6/8] sdhci: Turn host->lock into a mutex

2013-08-26 Thread Jeremie Samuel
Hi Chris, Thank you for the feedback. I'll send you the modifications in September. But I will not be able to test the changes. I don't have the hardware. Regards, -- Jeremie Samuel Parrot S.A. Software Engineer 14, quai de Jemmapes R&D/OS Platform 75010 Pa

Re: [PATCH 6/8] sdhci: Turn host->lock into a mutex

2013-08-24 Thread Chris Ball
Hi Jeremie, I'm sorry for a very late review. On Tue, Jul 09 2013, Jeremie Samuel wrote: > @@ -118,7 +119,7 @@ struct sdhci_host { > enum led_brightness brightness; > #endif > > - spinlock_t lock;/* Mutex */ > + struct mutex lock; /* Mutex */ > > int flags;

[PATCH 6/8] sdhci: Turn host->lock into a mutex

2013-07-09 Thread Jeremie Samuel
Finally, we can get rid of the host->lock spinlock, and turn it into a mutex. This patch does just this. Patch based on: http://thread.gmane.org/gmane.linux.kernel.mmc/2579. Signed-off-by: Anton Vorontsov Signed-off-by: Jeremie Samuel --- drivers/mmc/host/sdhci.c | 99 -

[PATCH 6/8] sdhci: Turn host->lock into a mutex

2013-05-24 Thread Jeremie Samuel
Finally, we can get rid of the host->lock spinlock, and turn it into a mutex. This patch does just this. Patch based on: http://thread.gmane.org/gmane.linux.kernel.mmc/2579. Signed-off-by: Anton Vorontsov Signed-off-by: Jeremie Samuel --- drivers/mmc/host/sdhci.c | 99 -