From 92f95101da529f4b67ef8d1af50ce762f81f40ad Mon Sep 17 00:00:00 2001 From: Dominic Sacré Date: Wed, 8 Jul 2015 11:46:06 +0200 Subject: linux-imx-rt: Upgrade to 3.14.28-1.0.0 GA Signed-off-by: Otavio Salvador --- ...sdhc-imx-Fixup-runtime-PM-conditions-duri.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 recipes-kernel/linux/linux-imx-rt-3.14.28/0004-mmc-sdhci-esdhc-imx-Fixup-runtime-PM-conditions-duri.patch (limited to 'recipes-kernel/linux/linux-imx-rt-3.14.28/0004-mmc-sdhci-esdhc-imx-Fixup-runtime-PM-conditions-duri.patch') diff --git a/recipes-kernel/linux/linux-imx-rt-3.14.28/0004-mmc-sdhci-esdhc-imx-Fixup-runtime-PM-conditions-duri.patch b/recipes-kernel/linux/linux-imx-rt-3.14.28/0004-mmc-sdhci-esdhc-imx-Fixup-runtime-PM-conditions-duri.patch new file mode 100644 index 0000000..0d3caa4 --- /dev/null +++ b/recipes-kernel/linux/linux-imx-rt-3.14.28/0004-mmc-sdhci-esdhc-imx-Fixup-runtime-PM-conditions-duri.patch @@ -0,0 +1,36 @@ +From 77903c01d8c6c5d2544085ba074aceadc1191d21 Mon Sep 17 00:00:00 2001 +From: Ulf Hansson +Date: Thu, 11 Dec 2014 15:12:25 +0100 +Subject: [PATCH 2/2] mmc: sdhci-esdhc-imx: Fixup runtime PM conditions during + ->probe() + +By configure runtime PM prior we enable the use of it, we close the gap +for strange and unhandled conditions. Moreover it makes us rely on the +driver core, after finalized ->probe(), to request an inactive device +to become runtime PM idle/suspended, which earlier potentially could +happen already at pm_runtime_set_autosuspend_delay(). + +Signed-off-by: Ulf Hansson +--- + drivers/mmc/host/sdhci-esdhc-imx.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c +index 043866c..10ef824 100644 +--- a/drivers/mmc/host/sdhci-esdhc-imx.c ++++ b/drivers/mmc/host/sdhci-esdhc-imx.c +@@ -1080,10 +1080,10 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev) + goto disable_clk; + + pm_runtime_set_active(&pdev->dev); +- pm_runtime_enable(&pdev->dev); + pm_runtime_set_autosuspend_delay(&pdev->dev, 50); + pm_runtime_use_autosuspend(&pdev->dev); + pm_suspend_ignore_children(&pdev->dev, 1); ++ pm_runtime_enable(&pdev->dev); + + return 0; + +-- +1.9.3 + -- cgit v1.2.3-54-g00ecf