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