]> git.karo-electronics.de Git - linux-beck.git/commit
USB: musb: fix init oops crash with static FIFO config
authorGiuseppe GORGOGLIONE <giuseppe.gorgoglione@st.com>
Tue, 24 Feb 2009 23:27:34 +0000 (15:27 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:36 +0000 (16:20 -0700)
commit322337168f22e8245aae7f38e84c5711cd4c1265
treea6212f86d555a538aae06d55f00043c43fe92dcd
parent1e0320f0d46022d12ddc84516cbdb8865e8cd744
USB: musb: fix init oops crash with static FIFO config

Correct musb_read_fifosize() and musb_configure_ep0() functions
for the #ifndef BLACKFIN branch when the silicon uses static FIFO
configuration.  (Most current silicon configures this controller
to use dynamic FIFO configuration; some parts from ST don't, like
the STM STA2062.)

Signed-off-by: Giuseppe GORGOGLIONE <giuseppe.gorgoglione@st.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_core.h