sdhci-pxav3.c (b315376573778b195e640a163675fb9f5937ddca) sdhci-pxav3.c (87d2163dae1f2388c7ccda5269be8d58e24382dd)
1/*
2 * Copyright (C) 2010 Marvell International Ltd.
3 * Zhangfei Gao <zhangfei.gao@marvell.com>
4 * Kevin Wang <dwang4@marvell.com>
5 * Mingwei Wang <mwwang@marvell.com>
6 * Philip Rakity <prakity@marvell.com>
7 * Mark Brown <markb@marvell.com>
8 *

--- 366 unchanged lines hidden (view full) ---

375 } else {
376 device_init_wakeup(&pdev->dev, 0);
377 }
378
379 pm_runtime_put_autosuspend(&pdev->dev);
380
381 return 0;
382
1/*
2 * Copyright (C) 2010 Marvell International Ltd.
3 * Zhangfei Gao <zhangfei.gao@marvell.com>
4 * Kevin Wang <dwang4@marvell.com>
5 * Mingwei Wang <mwwang@marvell.com>
6 * Philip Rakity <prakity@marvell.com>
7 * Mark Brown <markb@marvell.com>
8 *

--- 366 unchanged lines hidden (view full) ---

375 } else {
376 device_init_wakeup(&pdev->dev, 0);
377 }
378
379 pm_runtime_put_autosuspend(&pdev->dev);
380
381 return 0;
382
383err_of_parse:
384err_cd_req:
385err_add_host:
386 pm_runtime_put_sync(&pdev->dev);
387 pm_runtime_disable(&pdev->dev);
383err_add_host:
384 pm_runtime_put_sync(&pdev->dev);
385 pm_runtime_disable(&pdev->dev);
386err_of_parse:
387err_cd_req:
388 clk_disable_unprepare(clk);
389err_clk_get:
390err_mbus_win:
391 sdhci_pltfm_free(pdev);
392 return ret;
393}
394
395static int sdhci_pxav3_remove(struct platform_device *pdev)

--- 110 unchanged lines hidden ---
388 clk_disable_unprepare(clk);
389err_clk_get:
390err_mbus_win:
391 sdhci_pltfm_free(pdev);
392 return ret;
393}
394
395static int sdhci_pxav3_remove(struct platform_device *pdev)

--- 110 unchanged lines hidden ---