diff options
author | Chen-Yu Tsai <[email protected]> | 2017-12-18 11:57:51 +0800 |
---|---|---|
committer | Michael Turquette <[email protected]> | 2017-12-19 11:50:46 -0800 |
commit | 61d2f2a05765a5f57149efbd93e3e81a83cbc2c1 (patch) | |
tree | 7880c93c3fbb67d2d87e7422a5df1ae2450648ab /lib/test_overflow.c | |
parent | 975b820b6836b6b6c42fb84cd2e772e2b41bca67 (diff) |
clk: sunxi: sun9i-mmc: Implement reset callback for reset controls
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")
Cc: <[email protected]> # 4.14.x
Signed-off-by: Chen-Yu Tsai <[email protected]>
Acked-by: Philipp Zabel <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Signed-off-by: Michael Turquette <[email protected]>
Link: lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions