We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf3f15b commit 58abdd8Copy full SHA for 58abdd8
drivers/mmc/host/sdhci_f_sdh30.c
@@ -210,13 +210,16 @@ static int sdhci_f_sdh30_remove(struct platform_device *pdev)
210
{
211
struct sdhci_host *host = platform_get_drvdata(pdev);
212
struct f_sdhost_priv *priv = sdhci_f_sdhost_priv(host);
213
-
214
- reset_control_assert(priv->rst);
215
- clk_disable_unprepare(priv->clk);
216
- clk_disable_unprepare(priv->clk_iface);
+ struct clk *clk_iface = priv->clk_iface;
+ struct reset_control *rst = priv->rst;
+ struct clk *clk = priv->clk;
217
218
sdhci_pltfm_unregister(pdev);
219
+ reset_control_assert(rst);
220
+ clk_disable_unprepare(clk);
221
+ clk_disable_unprepare(clk_iface);
222
+
223
return 0;
224
}
225
0 commit comments