]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sirf: fix sdhci_pltfm_init sequence
authorArnd Bergmann <arnd@arndb.de>
Thu, 27 Jun 2013 15:17:25 +0000 (11:17 -0400)
committerChris Ball <cjb@laptop.org>
Thu, 27 Jun 2013 15:17:25 +0000 (11:17 -0400)
commite2f6aac6a88138851f81372c5cecc9562aab9352
treebd4b264f2d74a9d71b1618908af65d2e2efc7da7
parent6e2c0f3ffbb54547edcf1dd92a120ff37988a4d8
mmc: sirf: fix sdhci_pltfm_init sequence

Patch "mmc: sdhci: Add size for caller in init+register" changed the
interface for sdhci_pltfm_init, while patch "mmc: sdhci-sirf: add mmc
host sdhci-pltfm based driver for SiRF SoCs" added a new driver
with the old interface.

This changes the sirf driver to use the new interface, avoiding
one warning, and simplifying the init sequence. Since we're here
already, this also adds an error path for failed clk_prepare_enable.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Christian Daudt <csd@broadcom.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-sirf.c