Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280847
b: refs/heads/master
c: 9a35f87
h: refs/heads/master
i:
  280845: 4de4ee0
  280843: 99329e5
  280839: c6fe7f6
  280831: 0c975dc
v: v3
  • Loading branch information
Arnd Bergmann authored and Felipe Balbi committed Dec 12, 2011
1 parent 08d62e5 commit 842d0d3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2e7fc3ba68e28acbcc9f4ee753be12be84533ba2
refs/heads/master: 9a35f8767a568bdbb21ba7c3276fdc5321e3960d
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-omap2/board-n8x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static struct device *mmc_device;
#define TUSB6010_GPIO_ENABLE 0
#define TUSB6010_DMACHAN 0x3f

#ifdef CONFIG_USB_MUSB_TUSB6010
#if defined(CONFIG_USB_MUSB_TUSB6010) || defined(CONFIG_USB_MUSB_TUSB6010_MODULE)
/*
* Enable or disable power to TUSB6010. When enabling, turn on 3.3 V and
* 1.5 V voltage regulators of PM companion chip. Companion chip will then
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/usb/musb/musb_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,7 @@ static int __init musb_core_init(u16 musb_type, struct musb *musb)
struct musb_hw_ep *hw_ep = musb->endpoints + i;

hw_ep->fifo = MUSB_FIFO_OFFSET(i) + mbase;
#ifdef CONFIG_USB_MUSB_TUSB6010
#if defined(CONFIG_USB_MUSB_TUSB6010) || defined (CONFIG_USB_MUSB_TUSB6010_MODULE)
hw_ep->fifo_async = musb->async + 0x400 + MUSB_FIFO_OFFSET(i);
hw_ep->fifo_sync = musb->sync + 0x400 + MUSB_FIFO_OFFSET(i);
hw_ep->fifo_sync_va =
Expand Down Expand Up @@ -1631,6 +1631,7 @@ void musb_dma_completion(struct musb *musb, u8 epnum, u8 transmit)
}
}
}
EXPORT_SYMBOL_GPL(musb_dma_completion);

#else
#define use_dma 0
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/musb/musb_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static inline void musb_writel(void __iomem *addr, unsigned offset, u32 data)
{ __raw_writel(data, addr + offset); }


#ifdef CONFIG_USB_MUSB_TUSB6010
#if defined(CONFIG_USB_MUSB_TUSB6010) || defined (CONFIG_USB_MUSB_TUSB6010_MODULE)

/*
* TUSB6010 doesn't allow 8-bit access; 16-bit access is the minimum.
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/usb/musb/tusb6010.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ u8 tusb_get_revision(struct musb *musb)

return rev;
}
EXPORT_SYMBOL_GPL(tusb_get_revision);

static int tusb_print_revision(struct musb *musb)
{
Expand Down

0 comments on commit 842d0d3

Please sign in to comment.