Skip to content
Commit b5e1438c authored by Axel Haslam's avatar Axel Haslam Committed by Sekhar Nori
Browse files

ARM: davinci: da830-evm: use gpio descriptor for mmc pins



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>
parent bdf0e836
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment