From: Hema HK <hemahk@ti.com>
To: linux-usb@vger.kernel.org
Cc: linux-omap@vger.kernel.org, Hema HK <hemahk@ti.com>,
Felipe Balbi <balbi@ti.com>
Subject: [PATCH 1/5] usb: otg: TWL4030: Update the last_event variable.
Date: Fri, 25 Feb 2011 15:40:59 +0530 [thread overview]
Message-ID: <1298628663-27650-2-git-send-email-hemahk@ti.com> (raw)
In-Reply-To: <1298628663-27650-1-git-send-email-hemahk@ti.com>
Update the last_event variable of otg_transceiver. This will be used in
the musb platform glue driver for runtime idling the device.
Signed-off-by: Hema HK <hemahk@ti.com>
Cc: Felipe Balbi <balbi@ti.com>
---
drivers/usb/otg/twl4030-usb.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/otg/twl4030-usb.c b/drivers/usb/otg/twl4030-usb.c
index 6ca505f..013b804 100644
--- a/drivers/usb/otg/twl4030-usb.c
+++ b/drivers/usb/otg/twl4030-usb.c
@@ -275,6 +275,8 @@ static enum usb_xceiv_events twl4030_usb_linkstat(struct twl4030_usb *twl)
dev_dbg(twl->dev, "HW_CONDITIONS 0x%02x/%d; link %d\n",
status, status, linkstat);
+ twl->otg.last_event = linkstat;
+
/* REVISIT this assumes host and peripheral controllers
* are registered, and that both are active...
*/
--
1.7.0.4
next prev parent reply other threads:[~2011-02-25 10:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-25 10:10 [PATCH 0/5] usb: musb: Power management support Hema HK
2011-02-25 10:10 ` Hema HK [this message]
2011-02-25 10:11 ` [PATCH 3/5] usb: musb: Idle path retention and offmode support for OMAP3 Hema HK
2011-02-25 10:14 ` Felipe Balbi
[not found] ` <20110225101452.GB4190-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2011-02-25 10:16 ` Hema Kalliguddi
[not found] ` <1298628663-27650-1-git-send-email-hemahk-l0cyMroinI0@public.gmane.org>
2011-02-25 10:11 ` [PATCH 2/5] usb: musb: Remove platform context save/restore APIs Hema HK
2011-02-25 10:13 ` Felipe Balbi
2011-02-25 10:11 ` [PATCH 4/5] usb: musb: OMAP4430: Power down the PHY during board init Hema HK
2011-02-25 10:11 ` [PATCH 5/5] usb: musb: OMAP4430: Save/restore the context Hema HK
2011-02-25 10:21 ` [PATCH 0/5] usb: musb: Power management support Felipe Balbi
[not found] ` <20110225102112.GC4190-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2011-02-25 10:26 ` Hema Kalliguddi
[not found] ` <875afd9a6c1e7ccc61c7ff025fd57588-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-02-25 10:39 ` Felipe Balbi
[not found] ` <20110225103930.GD4190-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2011-02-25 10:43 ` Hema Kalliguddi
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=1298628663-27650-2-git-send-email-hemahk@ti.com \
--to=hemahk@ti.com \
--cc=balbi@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/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