> diff --git a/drivers/usb/musb/musbhsdma.c b/drivers/usb/musb/musbhsdma.c
> index 75b15ce..8e44355 100644
> --- a/drivers/usb/musb/musbhsdma.c
> +++ b/drivers/usb/musb/musbhsdma.c
> @@ -136,7 +136,7 @@ static void configure_channel(struct dma_channel *channel,
>               csr |= MUSB_HSDMA_BURSTMODE_INCR4;
> 
>       csr |= (musb_channel->epnum << MUSB_HSDMA_ENDPOINT_SHIFT)
> -             | MUSB_HSDMA_MODE1
> +             | mode ? MUSB_HSDMA_MODE1 : 0

Just found that above change should be within braces.
-               | MUSB_HSDMA_MODE1
+               | (mode ? MUSB_HSDMA_MODE1 : 0)

-Ajay

>               | MUSB_HSDMA_ENABLE
>               | MUSB_HSDMA_IRQENABLE
>               | (musb_channel->transmit
> --
> 1.5.6

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to