mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
mmc: Merge branch fixes into next
Merge the mmc fixes for v6.5-rc[n] into the next branch, to allow them to get tested together with the new mmc changes that are targeted for v6.6. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
commit
901aec215d
@ -210,13 +210,16 @@ static int sdhci_f_sdh30_remove(struct platform_device *pdev)
|
|||||||
{
|
{
|
||||||
struct sdhci_host *host = platform_get_drvdata(pdev);
|
struct sdhci_host *host = platform_get_drvdata(pdev);
|
||||||
struct f_sdhost_priv *priv = sdhci_f_sdhost_priv(host);
|
struct f_sdhost_priv *priv = sdhci_f_sdhost_priv(host);
|
||||||
|
struct clk *clk_iface = priv->clk_iface;
|
||||||
reset_control_assert(priv->rst);
|
struct reset_control *rst = priv->rst;
|
||||||
clk_disable_unprepare(priv->clk);
|
struct clk *clk = priv->clk;
|
||||||
clk_disable_unprepare(priv->clk_iface);
|
|
||||||
|
|
||||||
sdhci_pltfm_unregister(pdev);
|
sdhci_pltfm_unregister(pdev);
|
||||||
|
|
||||||
|
reset_control_assert(rst);
|
||||||
|
clk_disable_unprepare(clk);
|
||||||
|
clk_disable_unprepare(clk_iface);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user