diff options
author | Felipe Balbi <balbi@ti.com> | 2011-01-21 13:39:20 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-02-01 10:41:30 +0200 |
commit | 0662481855c389b75a0a54c32870cc90563d80a9 (patch) | |
tree | dec1f1e397a2951fea686c6219bbeb81aa9d819b /drivers/usb/musb/blackfin.c | |
parent | 9c668079c864c3b49d8deb56dafedf916b2a72d0 (diff) | |
download | blackbird-obmc-linux-0662481855c389b75a0a54c32870cc90563d80a9.tar.gz blackbird-obmc-linux-0662481855c389b75a0a54c32870cc90563d80a9.zip |
usb: musb: disable double buffering when it's broken
We know that blackfin doesn't support double
buffering feature as of today. So we add a
flag set by musb_platform_init() to forcefully
disable that feature.
Such flag is created and marked as deprecated
to force us to find a solution for the missing
double buffering support on blackfin.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/blackfin.c')
-rw-r--r-- | drivers/usb/musb/blackfin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c index eeba228eb2af..9d49d1cd7ce2 100644 --- a/drivers/usb/musb/blackfin.c +++ b/drivers/usb/musb/blackfin.c @@ -404,6 +404,7 @@ static int bfin_musb_init(struct musb *musb) musb->xceiv->set_power = bfin_musb_set_power; musb->isr = blackfin_interrupt; + musb->double_buffer_not_ok = true; return 0; } |