• Axel Haslam's avatar
    ARM: davinci: hawk: use gpio descriptor for mmc pins · c69f43fb
    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>
    Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
    c69f43fb
board-omapl138-hawk.c 8.04 KB