>From 762b3c44ad3a0b6800f38b3a1d0d8cc4f80ee98d Mon Sep 17 00:00:00 2001
From: Hao Wu <[email protected]>
Date: Tue, 26 Oct 2010 18:09:45 +0800
Subject: [PATCH] usb: penwell_otg: put PHY back to normal mode before charger 
detection.

This patch makes sure PHY in normal mode before charger detection sequence via 
MSIC register.

Signed-off-by: Hao Wu <[email protected]>
---
 drivers/usb/otg/penwell_otg.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/otg/penwell_otg.c b/drivers/usb/otg/penwell_otg.c
index 3366c95..4b7d30e 100644
--- a/drivers/usb/otg/penwell_otg.c
+++ b/drivers/usb/otg/penwell_otg.c
@@ -1369,6 +1369,8 @@ static void penwell_otg_work(struct work_struct *work)
 
                        penwell_update_transceiver();
                } else if (hsm->b_sess_vld) {
+                       penwell_otg_phy_low_power(0);
+
                        /* Check it is caused by ACA attachment */
                        if (hsm->id == ID_ACA_B) {
                                /* in this case, update current limit*/
-- 
1.6.0.6

Attachment: 0001-usb-penwell_otg-put-PHY-back-to-normal-mode-before.patch
Description: 0001-usb-penwell_otg-put-PHY-back-to-normal-mode-before.patch

_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to