Re: -ENOSYS suspend-powerdown regression

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

 



On Sat, Jun 4, 2011 at 1:18 PM, Daniel Drake <dsd@xxxxxxxxxx> wrote:
> Digging further, in the pm_runtime_get_sync() call we reach
> rpm_resume() in drivers/base/power where we hit:
>
>        else if (dev->power.disable_depth > 0)
>                retval = -EAGAIN;
>
> Not sure what this means. Any thoughts?

It means runtime PM is disabled for your device.

Which doesn't make sense, assuming you had MMC_CAP_POWER_OFF_CARD
configured (if you didn't, you wouldn't end up calling runtime PM api
at all).

If you post your entire diff, I might be able to spot what's wrong.

As a side note, if the additional CMD5 arg=0 fixes both sd8686's and
b43's issues, we might consider removing MMC_CAP_POWER_OFF_CARD
entirely. But let's not rush with that yet.
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux