Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
92b48df2
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
92b48df2
编写于
12月 02, 2010
作者:
F
Felipe Balbi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
usb: musb: drop board_set_vbus
that's not used anymore. So let's drop it. Signed-off-by:
N
Felipe Balbi
<
balbi@ti.com
>
上级
78417372
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
0 addition
and
15 deletion
+0
-15
drivers/usb/musb/am35x.c
drivers/usb/musb/am35x.c
+0
-2
drivers/usb/musb/blackfin.c
drivers/usb/musb/blackfin.c
+0
-1
drivers/usb/musb/da8xx.c
drivers/usb/musb/da8xx.c
+0
-2
drivers/usb/musb/davinci.c
drivers/usb/musb/davinci.c
+0
-1
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_core.c
+0
-1
drivers/usb/musb/musb_core.h
drivers/usb/musb/musb_core.h
+0
-5
drivers/usb/musb/omap2430.c
drivers/usb/musb/omap2430.c
+0
-3
未找到文件。
drivers/usb/musb/am35x.c
浏览文件 @
92b48df2
...
...
@@ -421,8 +421,6 @@ static int am35x_musb_init(struct musb *musb)
if
(
is_host_enabled
(
musb
))
setup_timer
(
&
otg_workaround
,
otg_timer
,
(
unsigned
long
)
musb
);
musb
->
board_set_vbus
=
am35x_musb_set_vbus
;
/* Global reset */
sw_reset
=
omap_ctrl_readl
(
AM35XX_CONTROL_IP_SW_RESET
);
...
...
drivers/usb/musb/blackfin.c
浏览文件 @
92b48df2
...
...
@@ -395,7 +395,6 @@ static int bfin_musb_init(struct musb *musb)
bfin_musb_reg_init
(
musb
);
if
(
is_host_enabled
(
musb
))
{
musb
->
board_set_vbus
=
bfin_musb_set_vbus
;
setup_timer
(
&
musb_conn_timer
,
musb_conn_timer_handler
,
(
unsigned
long
)
musb
);
}
...
...
drivers/usb/musb/da8xx.c
浏览文件 @
92b48df2
...
...
@@ -437,8 +437,6 @@ static int da8xx_musb_init(struct musb *musb)
if
(
is_host_enabled
(
musb
))
setup_timer
(
&
otg_workaround
,
otg_timer
,
(
unsigned
long
)
musb
);
musb
->
board_set_vbus
=
da8xx_musb_set_vbus
;
/* Reset the controller */
musb_writel
(
reg_base
,
DA8XX_USB_CTRL_REG
,
DA8XX_SOFT_RESET_MASK
);
...
...
drivers/usb/musb/davinci.c
浏览文件 @
92b48df2
...
...
@@ -404,7 +404,6 @@ static int davinci_musb_init(struct musb *musb)
if
(
is_host_enabled
(
musb
))
setup_timer
(
&
otg_workaround
,
otg_timer
,
(
unsigned
long
)
musb
);
musb
->
board_set_vbus
=
davinci_musb_set_vbus
;
davinci_musb_source_power
(
musb
,
0
,
1
);
/* dm355 EVM swaps D+/D- for signal integrity, and
...
...
drivers/usb/musb/musb_core.c
浏览文件 @
92b48df2
...
...
@@ -2000,7 +2000,6 @@ musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl)
* - may initialize an integrated tranceiver
* - initializes musb->xceiv, usually by otg_get_transceiver()
* - stops powering VBUS
* - assigns musb->board_set_vbus if host mode is enabled
*
* There are various transciever configurations. Blackfin,
* DaVinci, TUSB60x0, and others integrate them. OMAP3 uses
...
...
drivers/usb/musb/musb_core.h
浏览文件 @
92b48df2
...
...
@@ -412,11 +412,6 @@ struct musb {
struct
timer_list
otg_timer
;
#endif
/* called with IRQs blocked; ON/nonzero implies starting a session,
* and waiting at least a_wait_vrise_tmout.
*/
void
(
*
board_set_vbus
)(
struct
musb
*
,
int
is_on
);
struct
dma_controller
*
dma_controller
;
struct
device
*
controller
;
...
...
drivers/usb/musb/omap2430.c
浏览文件 @
92b48df2
...
...
@@ -268,9 +268,6 @@ static int omap2430_musb_init(struct musb *musb)
musb_readl
(
musb
->
mregs
,
OTG_INTERFSEL
),
musb_readl
(
musb
->
mregs
,
OTG_SIMENABLE
));
if
(
is_host_enabled
(
musb
))
musb
->
board_set_vbus
=
omap2430_musb_set_vbus
;
setup_timer
(
&
musb_idle_timer
,
musb_do_idle
,
(
unsigned
long
)
musb
);
return
0
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录