Re: [PATCH] mmc: debugfs: add runtime pm when cat ios or clock file node

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

 



On 24 April 2017 at 09:16, Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote:
> On 24/04/17 10:03, Haibo Chen wrote:
>> MMC core code add 'MMC_CAP_RUNTIME_RESUME', postpone the real card
>> resume operation from bus_resume to bus_runtime_resume. So after
>> system resume, for non-removable-card, it still not really resume.
>> At this point, if user cat the ios or clock node, only can get zero
>> data although the mmc/sd card is still present.
>
> If you ask me, getting zero is correct.

I fully agree!

The job for the debugfs ios node, is to report the current state, not
to change it.

[...]

Kind regards
Uffe
--
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