Re: [PATCH 09/11 v4] mmc: pxamci: Delete platform data handling of CD and WP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Linus Walleij <linus.walleij@xxxxxxxxxx> writes:

> This deletes the code dealing with handling card detect
> and write protect passed in as platform data and makes
> the host rely on just GPIO descriptors.
>
> The card read only inversion flag has to be kept around
> for now, as the core cannot handle the inversion flags
> on the descriptors yet.
>
> Since we can now rely on the descriptors to have the
> right polarity, we set the "override_active_level" to
> false in mmc_gpiod_request_cd() and mmc_gpiod_request_ro().
>
> Cc: Daniel Mack <daniel@xxxxxxxxxx>
> Cc: Robert Jarzmik <robert.jarzmik@xxxxxxx>
> Cc: Bartosz Golaszewski <brgl@xxxxxxxx>
> Cc: Andrea Adami <andrea.adami@xxxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Acked-by: Robert Jarzmik <robert.jarzmik@xxxxxxx>

Cheers.

--
Robert



[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux