Re: [PATCH v2 1/3] usb: chipidea: operate on otgsc register in a general way

2014-03-14 Thread Peter Chen
On Fri, Mar 14, 2014 at 12:48:18PM +0800, Li Jun wrote: > From: Li Jun > > Use a more general way to read and write otgsc register. > > Signed-off-by: Li Jun > --- > > Changes for v2: > Use one API for otgsc regiter write, and add mask as input parameter > for otgsc register target bits read.

[PATCH v2 1/3] usb: chipidea: operate on otgsc register in a general way

2014-03-13 Thread Li Jun
From: Li Jun Use a more general way to read and write otgsc register. Signed-off-by: Li Jun --- Changes for v2: Use one API for otgsc regiter write, and add mask as input parameter for otgsc register target bits read. drivers/usb/chipidea/core.c | 16 ++-- drivers/usb/chipidea/