diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-07-15 14:12:30 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 09:46:28 -0400 |
commit | b7800218bccb52dbcb1613bb51425b21441b81f9 (patch) | |
tree | 645196334309fd32d27df6d26763b4ce21d46245 /drivers/usb/gadget/s3c-hsotg.c | |
parent | 058e698b6372aa32b3b0dbbb81e5531a2ae3e56c (diff) |
USB: gadget: s3c-hsotg: missing parentheses
Add missing parentheses
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
CC: Ben Dooks <ben@simtec.co.uk>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/s3c-hsotg.c')
-rw-r--r-- | drivers/usb/gadget/s3c-hsotg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c index 50c71aae2cc2..4b5dbd0127f5 100644 --- a/drivers/usb/gadget/s3c-hsotg.c +++ b/drivers/usb/gadget/s3c-hsotg.c | |||
@@ -2392,7 +2392,7 @@ static int s3c_hsotg_corereset(struct s3c_hsotg *hsotg) | |||
2392 | grstctl = readl(hsotg->regs + S3C_GRSTCTL); | 2392 | grstctl = readl(hsotg->regs + S3C_GRSTCTL); |
2393 | } while (!(grstctl & S3C_GRSTCTL_CSftRst) && timeout-- > 0); | 2393 | } while (!(grstctl & S3C_GRSTCTL_CSftRst) && timeout-- > 0); |
2394 | 2394 | ||
2395 | if (!grstctl & S3C_GRSTCTL_CSftRst) { | 2395 | if (!(grstctl & S3C_GRSTCTL_CSftRst)) { |
2396 | dev_err(hsotg->dev, "Failed to get CSftRst asserted\n"); | 2396 | dev_err(hsotg->dev, "Failed to get CSftRst asserted\n"); |
2397 | return -EINVAL; | 2397 | return -EINVAL; |
2398 | } | 2398 | } |
@@ -2514,8 +2514,8 @@ int usb_gadget_register_driver(struct usb_gadget_driver *driver) | |||
2514 | * DMA mode we may need this. */ | 2514 | * DMA mode we may need this. */ |
2515 | writel(S3C_DOEPMSK_SetupMsk | S3C_DOEPMSK_AHBErrMsk | | 2515 | writel(S3C_DOEPMSK_SetupMsk | S3C_DOEPMSK_AHBErrMsk | |
2516 | S3C_DOEPMSK_EPDisbldMsk | | 2516 | S3C_DOEPMSK_EPDisbldMsk | |
2517 | using_dma(hsotg) ? (S3C_DIEPMSK_XferComplMsk | | 2517 | (using_dma(hsotg) ? (S3C_DIEPMSK_XferComplMsk | |
2518 | S3C_DIEPMSK_TimeOUTMsk) : 0, | 2518 | S3C_DIEPMSK_TimeOUTMsk) : 0), |
2519 | hsotg->regs + S3C_DOEPMSK); | 2519 | hsotg->regs + S3C_DOEPMSK); |
2520 | 2520 | ||
2521 | writel(0, hsotg->regs + S3C_DAINTMSK); | 2521 | writel(0, hsotg->regs + S3C_DAINTMSK); |