Comment 0 for bug 2069410

Revision history for this message
Heinrich Schuchardt (xypron) wrote :

The card detect pin of the SD card slot needs to be a GPIO input. But command

    gpio status GPIO41

shows that it is output.

Switching to input is the task of the MMC driver. Other drivers have a call

    gpio_request_by_name(dev, "cd-gpios", 0, &priv->cd_gpio, GPIOD_IS_IN);

This is missing in drivers/mmc/snps_dw_mmc.c.