Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
53e6a100
cloud-kernel
项目概览
openanolis
/
cloud-kernel
接近 2 年 前同步成功
通知
170
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看板
提交
53e6a100
编写于
6月 28, 2012
作者:
T
Tony Lindgren
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fixes-omap4-dsp' into fixes-non-critical
上级
00a36698
222e5cec
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
10 deletion
+11
-10
arch/arm/mach-omap2/mailbox.c
arch/arm/mach-omap2/mailbox.c
+0
-2
arch/arm/mach-omap2/omap-iommu.c
arch/arm/mach-omap2/omap-iommu.c
+2
-4
arch/arm/plat-omap/mailbox.c
arch/arm/plat-omap/mailbox.c
+9
-4
未找到文件。
arch/arm/mach-omap2/mailbox.c
浏览文件 @
53e6a100
...
...
@@ -83,8 +83,6 @@ static int omap2_mbox_startup(struct omap_mbox *mbox)
l
=
mbox_read_reg
(
MAILBOX_REVISION
);
pr_debug
(
"omap mailbox rev %d.%d
\n
"
,
(
l
&
0xf0
)
>>
4
,
(
l
&
0x0f
));
omap2_mbox_enable_irq
(
mbox
,
IRQ_RX
);
return
0
;
}
...
...
arch/arm/mach-omap2/omap-iommu.c
浏览文件 @
53e6a100
...
...
@@ -73,19 +73,17 @@ static struct iommu_device omap4_devices[] = {
.
da_end
=
0xFFFFF000
,
},
},
#if defined(CONFIG_MPU_TESLA_IOMMU)
{
.
base
=
OMAP4_MMU2_BASE
,
.
irq
=
INT_44XX_DSP
_MMU
,
.
irq
=
OMAP44XX_IRQ_TESLA
_MMU
,
.
pdata
=
{
.
name
=
"tesla"
,
.
nr_tlb_entries
=
32
,
.
clk_name
=
"
tesla_i
ck"
,
.
clk_name
=
"
dsp_f
ck"
,
.
da_start
=
0x0
,
.
da_end
=
0xFFFFF000
,
},
},
#endif
};
#define NR_OMAP4_IOMMU_DEVICES ARRAY_SIZE(omap4_devices)
static
struct
platform_device
*
omap4_iommu_pdev
[
NR_OMAP4_IOMMU_DEVICES
];
...
...
arch/arm/plat-omap/mailbox.c
浏览文件 @
53e6a100
...
...
@@ -282,6 +282,8 @@ static int omap_mbox_startup(struct omap_mbox *mbox)
}
mbox
->
rxq
=
mq
;
mq
->
mbox
=
mbox
;
omap_mbox_enable_irq
(
mbox
,
IRQ_RX
);
}
mutex_unlock
(
&
mbox_configured_lock
);
return
0
;
...
...
@@ -305,6 +307,7 @@ static void omap_mbox_fini(struct omap_mbox *mbox)
mutex_lock
(
&
mbox_configured_lock
);
if
(
!--
mbox
->
use_count
)
{
omap_mbox_disable_irq
(
mbox
,
IRQ_RX
);
free_irq
(
mbox
->
irq
,
mbox
);
tasklet_kill
(
&
mbox
->
txq
->
tasklet
);
flush_work_sync
(
&
mbox
->
rxq
->
work
);
...
...
@@ -338,13 +341,15 @@ struct omap_mbox *omap_mbox_get(const char *name, struct notifier_block *nb)
if
(
!
mbox
)
return
ERR_PTR
(
-
ENOENT
);
ret
=
omap_mbox_startup
(
mbox
);
if
(
ret
)
return
ERR_PTR
(
-
ENODEV
);
if
(
nb
)
blocking_notifier_chain_register
(
&
mbox
->
notifier
,
nb
);
ret
=
omap_mbox_startup
(
mbox
);
if
(
ret
)
{
blocking_notifier_chain_unregister
(
&
mbox
->
notifier
,
nb
);
return
ERR_PTR
(
-
ENODEV
);
}
return
mbox
;
}
EXPORT_SYMBOL
(
omap_mbox_get
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录