[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110728234436.D86D92403FF@tassilo.jf.intel.com>
Date: Thu, 28 Jul 2011 16:44:36 -0700 (PDT)
From: Andi Kleen <andi@...stfloor.org>
To: ajay.gupta@...com, gadiyar@...com, balbi@...com,
ak@...ux.intel.com, linux-kernel@...r.kernel.org,
stable@...nel.org, tim.bird@...sony.com
Subject: [PATCH] [32/50] usb: musb: restore INDEX register in resume path
2.6.35-longterm review patch. If anyone has any objections, please let me know.
------------------
From: Ajay Kumar Gupta <ajay.gupta@...com>
[ upstream commit 3c5fec75e121b21a2eb35e5a6b44291509abba6f ]
Restoring the missing INDEX register value in musb_restore_context().
Without this suspend resume functionality is broken with offmode
enabled.
Cc: stable@...nel.org
Acked-by: Anand Gadiyar <gadiyar@...com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@...com>
Signed-off-by: Felipe Balbi <balbi@...com>
Signed-off-by: Andi Kleen <ak@...ux.intel.com>
Index: linux-2.6.35.y/drivers/usb/musb/musb_core.c
===================================================================
--- linux-2.6.35.y.orig/drivers/usb/musb/musb_core.c
+++ linux-2.6.35.y/drivers/usb/musb/musb_core.c
@@ -1697,6 +1697,7 @@ void musb_dma_completion(struct musb *mu
}
}
}
+ musb_writeb(musb_base, MUSB_INDEX, musb->context.index);
}
#else
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists