[PATCH v3 2/2] ARM: s3c24xx: Correct SD card write protect detection on Mini2440
krzk at kernel.org
Mon Sep 10 10:22:55 PDT 2018
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 at free.fr>
> arch/arm/mach-s3c24xx/mach-mini2440.c | 9 +++++----
More information about the linux-arm-kernel