diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2012-05-11 17:25:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-11 16:54:54 -0700 |
commit | 758fc9860c19eceb56e5886a5225db623c521971 (patch) | |
tree | 81ecd0a568d9b484b6149d65dfa8cbce279620fe /drivers/usb/chipidea/udc.c | |
parent | f7daaa2d6e84f7be1e302d7bcba4f5f11567eddb (diff) | |
download | lwn-758fc9860c19eceb56e5886a5225db623c521971.tar.gz lwn-758fc9860c19eceb56e5886a5225db623c521971.zip |
usb: chipidea: use common definition for USBMODE bits
Some of the bits of USBMODE register are defined in <usb/ehci_def.h>,
use them instead of having our own definitions.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/udc.c')
-rw-r--r-- | drivers/usb/chipidea/udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index bdb034420fc6..290946d618d8 100644 --- a/drivers/usb/chipidea/udc.c +++ b/drivers/usb/chipidea/udc.c @@ -1606,7 +1606,7 @@ static irqreturn_t udc_irq(struct ci13xxx *udc) if (udc->udc_driver->flags & CI13XXX_REGS_SHARED) { if (hw_read(udc, OP_USBMODE, USBMODE_CM) != - USBMODE_CM_DEVICE) { + USBMODE_CM_DC) { spin_unlock(&udc->lock); return IRQ_NONE; } |