Re: [PATCH 5/5 v6] usb: musb: Using runtime pm APIs for musb.

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

 



Hema Kalliguddi <hemahk@xxxxxx> writes:

[...]

>>On Thu, Feb 10, 2011 at 07:38:01PM +0530, Hema HK wrote:
>>> Calling runtime pm APIs pm_runtime_put_sync() and
>>pm_runtime_get_sync()
>>> for enabling/disabling the clocks, sysconfig settings.
>>>
>>> Enable clock, configure no-idle/standby when active and
>>configure force idle/standby
>>> and disable clock when idled. This is taken care by the
>>runtime framework when
>>> driver calls the pm_runtime_get_sync and pm_runtime_put_sync APIs.
>>
>>does it have to be the _sync() ??
> Yes. Because immediately after this I access the registers.
>

What about the put?

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux