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/
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
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;
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 -
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 -