summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/omap_hsmmc.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2015-03-03 09:44:40 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2015-03-23 14:13:35 +0100
commit9e71c589e44ddf2b86f361c81e360c6b0d0354b1 (patch)
tree211a93fe32338b2d4afc2a31b139d56363fbb17f /drivers/mmc/host/omap_hsmmc.c
parentcaebcae94fc01aef409ea0cabf0c327b6c23840e (diff)
downloadop-kernel-dev-9e71c589e44ddf2b86f361c81e360c6b0d0354b1.zip
op-kernel-dev-9e71c589e44ddf2b86f361c81e360c6b0d0354b1.tar.gz
mmc: sunxi: Use devm_reset_control_get_optional() for reset control
The reset control for the sunxi mmc controller is optional. Some newer platforms (sun6i, sun8i, sun9i) have it, while older ones (sun4i, sun5i, sun7i) don't. Use the properly stubbed _optional version so the driver does not fail to compile when RESET_CONTROLLER=n. This patch also adds a check for deferred probing on the reset control. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Cc: <stable@vger.kernel.org> # 3.16+ Acked-by: David Lanzendörfer <david.lanzendoerfer@o2s.ch> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/omap_hsmmc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud