]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: print debug messages for runtime PM actions
authorDaniel Drake <dsd@laptop.org>
Sun, 17 Jul 2011 15:38:41 +0000 (16:38 +0100)
committerChris Ball <cjb@laptop.org>
Thu, 21 Jul 2011 14:35:09 +0000 (10:35 -0400)
commit3093710afa30c5680a57f08e1c11b8c3115be111
treeff855b6d5ded64f6c47338d1b82c7cf3c6860261
parentb7155028df3857e4c14325110fa353ff5a0c5e76
mmc: print debug messages for runtime PM actions

At http://www.mail-archive.com/linux-mmc@vger.kernel.org/msg08371.html
(thread: "mmc: sdio: reset card during power_restore") we found and
fixed a bug where mmc's runtime power management functions were not being
called. We have now also made improvements to the SDIO powerup routine
which could possibly mask this kind of issue in future.

Add debug messages to the runtime PM hooks so that it is easy to verify
if and when runtime PM is happening.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c