From: Rafael J. Wysocki Date: Fri, 16 Mar 2012 20:49:24 +0000 (+0100) Subject: Merge branch 'pm-qos' X-Git-Tag: v3.4-rc1~173^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59fb53ea75eef4aa029cf31c88cdacec2f7b794b;p=platform%2Fupstream%2Fkernel-adaptation-pc.git Merge branch 'pm-qos' * pm-qos: sh_mmcif / PM: Use PM QoS latency constraint tmio_mmc / PM: Use PM QoS latency constraint PM / QoS: Make it possible to expose PM QoS latency constraints --- 59fb53ea75eef4aa029cf31c88cdacec2f7b794b diff --cc drivers/mmc/host/sh_mmcif.c index 352d479,a4ad93b..75a4854 --- a/drivers/mmc/host/sh_mmcif.c +++ b/drivers/mmc/host/sh_mmcif.c @@@ -1338,14 -1339,17 +1339,16 @@@ static int __devinit sh_mmcif_probe(str } ret = request_threaded_irq(irq[1], sh_mmcif_intr, sh_mmcif_irqt, 0, "sh_mmc:int", host); if (ret) { - free_irq(irq[0], host); dev_err(&pdev->dev, "request_irq error (sh_mmc:int)\n"); - goto clean_up3; + goto clean_up4; } - INIT_DELAYED_WORK(&host->timeout_work, mmcif_timeout_work); - - mmc_detect_change(host->mmc, 0); + ret = mmc_add_host(mmc); + if (ret < 0) + goto clean_up5; + dev_pm_qos_expose_latency_limit(&pdev->dev, 100); + dev_info(&pdev->dev, "driver version %s\n", DRIVER_VERSION); dev_dbg(&pdev->dev, "chip ver H'%04x\n", sh_mmcif_readl(host->addr, MMCIF_CE_VERSION) & 0x0000ffff); diff --cc drivers/mmc/host/tmio_mmc_pio.c index 5f9ad74,fc3eb1a..e219889 --- a/drivers/mmc/host/tmio_mmc_pio.c +++ b/drivers/mmc/host/tmio_mmc_pio.c @@@ -39,10 -39,11 +39,11 @@@ #include #include #include + #include #include #include -#include #include +#include #include "tmio_mmc.h"