usb: chipidea: operate on otgsc register in a general way
authorLi Jun <b47624@freescale.com>
Wed, 23 Apr 2014 07:56:38 +0000 (15:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Apr 2014 19:56:34 +0000 (12:56 -0700)
commit0c33bf781a0da4bdab207ccc323c9afa940852af
tree944dc5e1c996ff80edce93442ec462be3fedfbfa
parentd03cccff9c768342d9576dde744ab3acb69d3ad4
usb: chipidea: operate on otgsc register in a general way

Use a more general way to read and write otgsc register.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Li Jun <b47624@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c
drivers/usb/chipidea/otg.c
drivers/usb/chipidea/otg.h
drivers/usb/chipidea/udc.c