Re: [PATCH 2/2] usb: musb: omap2+: save and restore OTG_INTERFSEL

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

 



Hi,

On Wed, Sep 07, 2011 at 02:52:02PM +0400, Sergei Shtylyov wrote:
> Hello.
> 
> On 07-09-2011 4:49, Vikram Pandita wrote:
> 
> >From: Hema HK <hemahk@xxxxxx>
> 
> >we need to save and restore OTG_INTERFSEL register
> >else we will be unable to function on resume after
> >OFF mode.
> 
> >Change-Id: I6c29c69596d5f47e00cf74ab0e32bb44ef71dda9
> 
>    Remove this, please.
> 
> >Reported-by: Devaraj Rangasamy<dev@xxxxxx>
> >Signed-off-by: Hema HK<hemahk@xxxxxx>
> >Signed-off-by: Kishon Vijay Abraham I<kishon@xxxxxx>
> >---
> >  drivers/usb/musb/musb_core.h |    1 +
> >  drivers/usb/musb/omap2430.c  |    6 ++++++
> >  2 files changed, 7 insertions(+), 0 deletions(-)
> 
> >diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h
> >index b3c065a..3259a6b 100644
> >--- a/drivers/usb/musb/musb_core.h
> >+++ b/drivers/usb/musb/musb_core.h
> >@@ -311,6 +311,7 @@ struct musb_context_registers {
> >  	u8 index, testmode;
> >
> >  	u8 devctl, busctl, misc;
> >+	u32 otg_interfsel;
> 
>    Shouldn't this be encosed in #ifdef?

Actually, this is part of the OMAP wrapper, so it would be better if you
would, instead, take care of this in omap2430.c.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux