From: p.zabel@pengutronix.de (Philipp Zabel) Date: Mon, 18 Dec 2017 12:05:46 +0100 Subject: [PATCH] clk: sunxi: sun9i-mmc: Implement reset callback for reset controls In-Reply-To: <20171218035751.20661-1-wens@csie.org> References: <20171218035751.20661-1-wens@csie.org> Message-ID: <1513595146.9114.3.camel@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, 2017-12-18 at 11:57 +0800, Chen-Yu Tsai wrote: > 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: # 4.14.x > Signed-off-by: Chen-Yu Tsai Acked-by: Philipp Zabel regards Philipp