usb: musb_hdrc build fixes
Minor musb_hdrc updates: - so it'll build on DaVinci, given relevant platform updates; * remove support for an un-shipped OTG prototype * rely on gpiolib framework conversion for the I2C GPIOs * the <asm/arch/hdrc_cnf.h> mechanism has been removed - catch comments up to the recent removal of the per-SOC header with the silicon configuration data; - and remove two inappropriate "inline" declarations which just bloat host side code. There are still some more <asm/arch/XYZ.h> ==> <mach/XYZ.h> changes needed in this driver, catching up to the relocation of most of the include/asm-arm/arch-* contents. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Cc: stable <stable@kernel.org> [2.6.27] Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
64ca44a65a
commit
c767c1c6f1
@@ -108,7 +108,7 @@ static void musb_ep_program(struct musb *musb, u8 epnum,
|
||||
/*
|
||||
* Clear TX fifo. Needed to avoid BABBLE errors.
|
||||
*/
|
||||
static inline void musb_h_tx_flush_fifo(struct musb_hw_ep *ep)
|
||||
static void musb_h_tx_flush_fifo(struct musb_hw_ep *ep)
|
||||
{
|
||||
void __iomem *epio = ep->regs;
|
||||
u16 csr;
|
||||
@@ -435,7 +435,7 @@ musb_advance_schedule(struct musb *musb, struct urb *urb,
|
||||
}
|
||||
}
|
||||
|
||||
static inline u16 musb_h_flush_rxfifo(struct musb_hw_ep *hw_ep, u16 csr)
|
||||
static u16 musb_h_flush_rxfifo(struct musb_hw_ep *hw_ep, u16 csr)
|
||||
{
|
||||
/* we don't want fifo to fill itself again;
|
||||
* ignore dma (various models),
|
||||
@@ -1004,7 +1004,7 @@ static bool musb_h_ep0_continue(struct musb *musb, u16 len, struct urb *urb)
|
||||
|
||||
/*
|
||||
* Handle default endpoint interrupt as host. Only called in IRQ time
|
||||
* from the LinuxIsr() interrupt service routine.
|
||||
* from musb_interrupt().
|
||||
*
|
||||
* called with controller irqlocked
|
||||
*/
|
||||
|
Reference in New Issue
Block a user