summaryrefslogtreecommitdiff
path: root/drivers/nvdimm
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2017-12-18 11:57:51 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-29 17:43:00 +0100
commit2635a64d0e94636c8600487d4424f8655502c3f2 (patch)
treefaaa8346a6dda074356544f9e11f9fdc394f789e /drivers/nvdimm
parent18276e9bcd49d5d4bcbdbf41901a9dd996fdb1a7 (diff)
clk: sunxi: sun9i-mmc: Implement reset callback for reset controls
commit 61d2f2a05765a5f57149efbd93e3e81a83cbc2c1 upstream. Our MMC host driver now issues a reset, instead of just deasserting the reset control, since commit c34eda69ad4c ("mmc: sunxi: Reset the device at probe time"). The sun9i-mmc clock driver does not support this, and will fail, which results in MMC not probing. This patch implements the reset callback by asserting the reset control, then deasserting it after a small delay. Fixes: 7a6fca879f59 ("clk: sunxi: Add driver for A80 MMC config clocks/resets") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/20171218035751.20661-1-wens@csie.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions