linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* MMC card removal during suspend
@ 2015-09-30  6:46 Mirza Krak
  2015-09-30 10:24 ` Ulf Hansson
  0 siblings, 1 reply; 5+ messages in thread
From: Mirza Krak @ 2015-09-30  6:46 UTC (permalink / raw)
  To: linux-mmc

Hi.

I have a questing regard of what happens during suspend with the MMC
card, or even more correctly what does not happen.

I am running the 4.1.5 kernel on a Colibri VF SOM.

What I would like to happen when i suspend my system to memory is that
the MMC card is removed before suspend. The reason is that we will cut
the power rail to the MMC card during suspend on our board, which
means that it will fail on resume if we do not remove the card before
suspending.

From what I read on the "internet", above behavior used to be default.
It no longer is it seems.

My question is, is there a "correct" way of getting the behavior I would like?

My hack today is to declare a pre_suspend callback in mmc.c returning -ENOSYS.

-- 
Med Vänliga Hälsningar / Best Regards

*******************************************************************
Mirza Krak
Host Mobility AB
mirza.krak@hostmobility.com
Anders Personsgatan 12, 416 64 Göteborg
Sweden
http://www.hostmobility.com
Direct: +46 31 31 32 704
Phone: +46 31 31 32 700
Fax: +46 31 80 67 51
Mobile: +46 730 28 06 22
*******************************************************************

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-01  9:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30  6:46 MMC card removal during suspend Mirza Krak
2015-09-30 10:24 ` Ulf Hansson
2015-09-30 16:10   ` Mirza Krak
2015-10-01  9:39     ` Ulf Hansson
2015-10-01  9:43     ` Jaehoon Chung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).