• Axel Haslam's avatar
    ARM: davinci: da850-evm: use gpio descriptor for mmc pins · bdf0e836
    Axel Haslam authored
    Currently the mmc driver is polling the gpio to know if the
    card was removed.
    
    By using a gpio descriptor instead of the platform callbacks,
    the driver will be able to register the gpio using the mmc core
    APIs designed for this purpose.
    
    This has the advantage that an irq will be registered, and
    polling is no longer needed. Also, a dependency on platform
    callbacks is removed for this board.
    Signed-off-by: default avatarAxel Haslam <ahaslam@baylibre.com>
    [nsekhar@ti.com: minor commit message edit]
    Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
    bdf0e836
board-da850-evm.c 36.3 KB