Re: [PATCH v3 2/2] ARM: s3c24xx: Correct SD card write protect detection on Mini2440

From: Krzysztof Kozlowski
Date: Mon Sep 10 2018 - 13:23:01 EST


On Fri, Sep 07, 2018 at 11:54:46PM +0200, Cedric Roux wrote:
> The mini2440 computer uses "active high" to signal that the "write protect"
> of the inserted MMC is set. The current code uses the opposite, leading to
> a wrong detection of write protection. The solution is simply to use
> ".wprotect_invert = 1" in the description of the MMC.
>
> Signed-off-by: Cedric Roux <sed@xxxxxxx>
> ---
> arch/arm/mach-s3c24xx/mach-mini2440.c | 9 +++++----

Thanks, applied.

Best regards,
Krzysztof