sdhci-spear.c (552c69b36ebd966186573b9c7a286b390935cce1) | sdhci-spear.c (fb8617e1ee4d4057c76730e2f8376ece45663c34) |
---|---|
1/* 2 * drivers/mmc/host/sdhci-spear.c 3 * 4 * Support of SDHCI platform devices for spear soc family 5 * 6 * Copyright (C) 2010 ST Microelectronics 7 * Viresh Kumar <vireshk@kernel.org> 8 * --- 112 unchanged lines hidden (view full) --- 121 dev_dbg(&pdev->dev, 122 "failed to request card-detect gpio%d\n", 123 sdhci->card_int_gpio); 124 goto disable_clk; 125 } 126 } 127 128 ret = sdhci_add_host(host); | 1/* 2 * drivers/mmc/host/sdhci-spear.c 3 * 4 * Support of SDHCI platform devices for spear soc family 5 * 6 * Copyright (C) 2010 ST Microelectronics 7 * Viresh Kumar <vireshk@kernel.org> 8 * --- 112 unchanged lines hidden (view full) --- 121 dev_dbg(&pdev->dev, 122 "failed to request card-detect gpio%d\n", 123 sdhci->card_int_gpio); 124 goto disable_clk; 125 } 126 } 127 128 ret = sdhci_add_host(host); |
129 if (ret) { 130 dev_dbg(&pdev->dev, "error adding host\n"); | 129 if (ret) |
131 goto disable_clk; | 130 goto disable_clk; |
132 } | |
133 134 platform_set_drvdata(pdev, host); 135 136 return 0; 137 138disable_clk: 139 clk_disable_unprepare(sdhci->clk); 140err_host: --- 82 unchanged lines hidden --- | 131 132 platform_set_drvdata(pdev, host); 133 134 return 0; 135 136disable_clk: 137 clk_disable_unprepare(sdhci->clk); 138err_host: --- 82 unchanged lines hidden --- |