Re: [PATCH 4/5] mmc: core: Add support for graceful host removal for eMMC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > > +     _mmc_suspend(host, MMC_POWEROFF_UNBIND);
> > Couldn't find how _mmc_suspend handles this new power off flag?
> 
> Right. You need to look closer at mmc_may_poweroff_notify() as it
> should return false if MMC_POWEROFF_UNBIND, unless
> MMC_CAP2_FULL_PWR_CYCLE.

And this is what we need for Renesas SDHI which only has
MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND. What this means is:
For suspend, we have some blackbox firmware (PSCI) handling the power
cycle. But for unbind, we cannot trigger the firmware, so we can't use
the notification but need mmc_sleep().

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux