diff options
author | ahaslam@baylibre.com <ahaslam@baylibre.com> | 2016-11-15 19:28:22 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-11-29 11:04:53 +0300 |
commit | 6e628dad6553cf00634edff9b63d167e2304115e (patch) | |
tree | 9a1c93aef8c7f6d89b19c9a30cc10406af235dbc /drivers/mmc/card/block.c | |
parent | c8301e798fc83ec79543b3c79c3f89d3e497f2f7 (diff) | |
download | linux-6e628dad6553cf00634edff9b63d167e2304115e.tar.xz |
mmc: davinci: request gpios using gpio descriptors
Request card detect and write protect gpios using the provided API
by mmc core.
If a gpio is provided for card detect, we don't need to poll.
So only use polling when a gpio is not provided.
Once all pdata users register the gpios using gpio descriptors,
we could remove the platform callbacks.
Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: David Lechner <david@lechnology.com>
Diffstat (limited to 'drivers/mmc/card/block.c')
0 files changed, 0 insertions, 0 deletions