public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@ti.com>
To: Hema Kalliguddi <hemahk@ti.com>
Cc: balbi@ti.com, linux-omap@vger.kernel.org,
	linux-usb@vger.kernel.org, Tony Lindgren <tony@atomide.com>,
	Benoit Cousson <b-cousson@ti.com>, Paul Walmsley <paul@pwsan.com>
Subject: Re: [PATCH 5/5 v6] usb: musb: Using runtime pm APIs for musb.
Date: Mon, 14 Feb 2011 16:42:02 -0800	[thread overview]
Message-ID: <87oc6ew2lh.fsf@ti.com> (raw)
In-Reply-To: <98ff144ea4e715250c54712ebbfb494f@mail.gmail.com> (Hema Kalliguddi's message of "Thu, 10 Feb 2011 22:09:45 +0530")

Hema Kalliguddi <hemahk@ti.com> 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
 

  reply	other threads:[~2011-02-15  0:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-10 14:07 Subject: [PATCH 0/5 v6]usb: musb: hwmod and runtime pm support for musb Hema HK
2011-02-10 14:07 ` [PATCH 2/5 v6] OMAP3xxx: hwmod data: Add USBOTG Hema HK
2011-02-10 14:07 ` [PATCH 3/5 v6] OMAP4430: hwmod data: Adding USBOTG Hema HK
     [not found] ` <1297346881-13438-1-git-send-email-hemahk-l0cyMroinI0@public.gmane.org>
2011-02-10 14:07   ` [PATCH 1/5 v6] OMAP2430: hwmod data: Add USBOTG Hema HK
2011-02-10 14:08   ` [PATCH 4/5 v6] OMAP2+: musb: HWMOD adaptation for musb. registration Hema HK
     [not found]     ` <1297346881-13438-5-git-send-email-hemahk-l0cyMroinI0@public.gmane.org>
2011-02-15  0:15       ` Kevin Hilman
     [not found]         ` <87vd0mw3u9.fsf-l0cyMroinI0@public.gmane.org>
2011-02-15  6:30           ` Hema Kalliguddi
2011-02-15  8:32         ` Felipe Balbi
2011-02-15 16:12           ` Kevin Hilman
     [not found]             ` <87r5b9uvj8.fsf-l0cyMroinI0@public.gmane.org>
2011-02-16 10:57               ` Hema Kalliguddi
2011-02-10 14:08   ` [PATCH 5/5 v6] usb: musb: Using runtime pm APIs for musb Hema HK
2011-02-10 14:26     ` Felipe Balbi
2011-02-10 16:39       ` Hema Kalliguddi
2011-02-15  0:42         ` Kevin Hilman [this message]
     [not found]           ` <87oc6ew2lh.fsf-l0cyMroinI0@public.gmane.org>
2011-02-15  4:01             ` Kalliguddi, Hema

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oc6ew2lh.fsf@ti.com \
    --to=khilman@ti.com \
    --cc=b-cousson@ti.com \
    --cc=balbi@ti.com \
    --cc=hemahk@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=paul@pwsan.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox