Search Linux Wireless

Re: [PATCH 2/3] wl1251: add runtime PM support for SDIO

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

 



Ohad Ben-Cohen <ohad@xxxxxxxxxx> writes:

> On Sun, Nov 7, 2010 at 12:18 PM, Kalle Valo <kvalo@xxxxxxxxxx> wrote:
>>> +static int wl1251_suspend(struct device *dev)
>>> +{
>>> + Â Â /*
>>> + Â Â Â* Tell MMC/SDIO core it's OK to power down the card
>>> + Â Â Â* (if it isn't already), but not to remove it completely
>>> + Â Â Â*/
>>> + Â Â return 0;
>>> +}
>>
>> Sorry, I'm not familiar with pm_ops and I don't fully understand the
>> comment above. Does the comment mean that by returning 0 we can
>> accomplish all that?
>
> Yes. By returning 0 we let the MMC core power down our card, but not
> remove it.

Good, thanks for confirming that.

-- 
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux