git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: musb: blackfin: work around anomaly 05000450
[pandora-kernel.git]
/
drivers
/
usb
/
musb
/
musb_core.h
diff --git
a/drivers/usb/musb/musb_core.h
b/drivers/usb/musb/musb_core.h
index
4bd9e21
..
0e053b5
100644
(file)
--- a/
drivers/usb/musb/musb_core.h
+++ b/
drivers/usb/musb/musb_core.h
@@
-261,6
+261,7
@@
enum musb_g_ep0_state {
* @try_ilde: tries to idle the IP
* @vbus_status: returns vbus status if possible
* @set_vbus: forces vbus status
* @try_ilde: tries to idle the IP
* @vbus_status: returns vbus status if possible
* @set_vbus: forces vbus status
+ * @channel_program: pre check for standard dma channel_program func
*/
struct musb_platform_ops {
int (*init)(struct musb *musb);
*/
struct musb_platform_ops {
int (*init)(struct musb *musb);
@@
-274,6
+275,10
@@
struct musb_platform_ops {
int (*vbus_status)(struct musb *musb);
void (*set_vbus)(struct musb *musb, int on);
int (*vbus_status)(struct musb *musb);
void (*set_vbus)(struct musb *musb, int on);
+
+ int (*adjust_channel_params)(struct dma_channel *channel,
+ u16 packet_sz, u8 *mode,
+ dma_addr_t *dma_addr, u32 *len);
};
/*
};
/*