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