On Sun, Nov 7, 2010 at 12:31 PM, Kalle Valo <kvalo@xxxxxxxxxx> wrote: > 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. Thanks, updating comments and resending this one in a moment. -- 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