]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: be careful when using different fifo_modes
authorFelipe Balbi <balbi@ti.com>
Mon, 27 Jun 2011 12:57:46 +0000 (15:57 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2011 21:31:09 +0000 (14:31 -0700)
commit16a608516f06f1cd87382741385627cc9f077ff1
tree17f45af2d69eed5da822b425d033b6a24af39423
parent0d214216c374cecbef487b615cd53b6ae126446e
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