summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b8a8769)
raw | patch | inline | side by side (parent: b8a8769)
author | Ajay Kumar Gupta <ajay.gupta@ti.com> | |
Fri, 29 Jan 2010 22:20:18 +0000 (14:20 -0800) | ||
committer | Tony Lindgren <tony@atomide.com> | |
Fri, 29 Jan 2010 22:20:18 +0000 (14:20 -0800) |
Save dynamic FIFO read only information for later uses during
musb_save/restore_context functions.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
musb_save/restore_context functions.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/musb_core.c | patch | blob | history | |
drivers/usb/musb/musb_core.h | patch | blob | history |
index bd14e816df9341903bf455994719578b03a11f78..4c8962f976b2d5ecd7297302038247b4d80456d1 100644 (file)
reg = musb_read_configdata(mbase);
strcpy(aInfo, (reg & MUSB_CONFIGDATA_UTMIDW) ? "UTMI-16" : "UTMI-8");
- if (reg & MUSB_CONFIGDATA_DYNFIFO)
+ if (reg & MUSB_CONFIGDATA_DYNFIFO) {
strcat(aInfo, ", dyn FIFOs");
+ musb->dyn_fifo = true;
+ }
if (reg & MUSB_CONFIGDATA_MPRXE) {
strcat(aInfo, ", bulk combine");
musb->bulk_combine = true;
index 2ac0e6f7dd9d5a7a510f209c553b3ee29d1cc7bc..eaa01140183e1f142090e4177ebfd3c1d1ba6c1e 100644 (file)
unsigned hb_iso_rx:1; /* high bandwidth iso rx? */
unsigned hb_iso_tx:1; /* high bandwidth iso tx? */
+ unsigned dyn_fifo:1; /* dynamic FIFO supported? */
unsigned bulk_split:1;
#define can_bulk_split(musb,type) \