]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
n800: usb: fix num_eps and avoid BUG()
authorFelipe Balbi <felipe.balbi@nokia.com>
Mon, 13 Oct 2008 12:35:45 +0000 (15:35 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 17 Oct 2008 22:36:53 +0000 (15:36 -0700)
num_eps is 16, not 32.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-n800-usb.c

index f8df19e83b831564b46d4edd71d934a0f5891d5f..fc128f245ab8eb2da3dd30d256f8cab9187227d1 100644 (file)
@@ -73,7 +73,7 @@ static struct musb_hdrc_config musb_config = {
        .dyn_fifo       = 1,
        .soft_con       = 1,
        .dma            = 1,
-       .num_eps        = 32,
+       .num_eps        = 16,
        .dma_channels   = 7,
        .ram_bits       = 12,
        .eps_bits       = musb_eps,