RE: [RFC] sdhci: use ios->clock to know when sdhci is idle

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yuan, Hang
Date: Thursday, December 23, 2010 - 12:02 am

Just have a question why not let sdio card driver call pm_runtime_get/put instead of host
controller driver itself?
This patch may suspend host controller without cooperation of sdio card driver. But suspending
host controller will change controller's registers and then impact sdio card. I think it's
safer to suspend host controller according to sdio card driver's notification following runtime
PM framework. 

Another question is why to call pm_runtime_get/put when ios-clock changes? Is it based on
Linus Walleij's aggressive clock gating framework patch? Linus' patch doesn't gate SDIO cards.

Thanks,
Henry

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [RFC] sdhci: use ios->clock to know when sdhci is idle, Yuan, Hang, (Thu Dec 23, 12:02 am)
[PATCH] mmc: add MMC_QUIRK_BROKEN_CLK_GATING, Pierre Tardy, (Sun Jan 2, 2:08 pm)
Re: [PATCH] mmc: add MMC_QUIRK_BROKEN_CLK_GATING, Philip Rakity, (Sun Jan 2, 3:23 pm)
Re: [PATCH] mmc: add MMC_QUIRK_BROKEN_CLK_GATING, Pierre Tardy, (Mon Jan 3, 3:10 am)