usb: musb: be careful when using different fifo_modes
commite4e5b136eb6f2d3aa10dca108a1b787dc92d67df
authorFelipe Balbi <balbi@ti.com>
Mon, 27 Jun 2011 12:57:46 +0000 (27 15:57 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2011 21:31:09 +0000 (1 14:31 -0700)
tree17f45af2d69eed5da822b425d033b6a24af39423
parentfc0b721f27beb5464d9fb5e521f5cd68127dd14e
usb: musb: be careful when using different fifo_modes

if we have more endpoints configured than
enabled on fifo_mode, then we need to be
careful on save/restore context operations,
otherwise we will try to access uninitialized
__iomem pointer.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_core.c