summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2015-03-03 09:44:40 +0800
committerLuis Henriques <luis.henriques@canonical.com>2015-05-05 11:09:30 +0100
commitd84753e0d715f04e3985b0e51db3fe62d818b941 (patch)
tree06fbfd88205c7edbb7b3400115d46ad86d8dc000 /include/linux
parente6e0476c40c392fc32af7517d229a80329272340 (diff)
mmc: sunxi: Use devm_reset_control_get_optional() for reset control
commit 9e71c589e44ddf2b86f361c81e360c6b0d0354b1 upstream. 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> Acked-by: David Lanzendörfer <david.lanzendoerfer@o2s.ch> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> [ luis: backported to 3.16: adjusted context ] Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions