Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
6597cb84
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6597cb84
编写于
11月 06, 2008
作者:
R
Russell King
提交者:
Russell King
11月 06, 2008
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'omap-fixes' of
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
上级
878708f2
5c32f62b
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
16 addition
and
16 deletion
+16
-16
arch/arm/mach-omap2/gpmc.c
arch/arm/mach-omap2/gpmc.c
+2
-4
arch/arm/plat-omap/clock.c
arch/arm/plat-omap/clock.c
+10
-10
arch/arm/plat-omap/include/mach/entry-macro.S
arch/arm/plat-omap/include/mach/entry-macro.S
+3
-1
arch/arm/plat-omap/include/mach/irqs.h
arch/arm/plat-omap/include/mach/irqs.h
+1
-1
未找到文件。
arch/arm/mach-omap2/gpmc.c
浏览文件 @
6597cb84
...
...
@@ -429,18 +429,16 @@ void __init gpmc_init(void)
gpmc_l3_clk
=
clk_get
(
NULL
,
ck
);
if
(
IS_ERR
(
gpmc_l3_clk
))
{
printk
(
KERN_ERR
"Could not get GPMC clock %s
\n
"
,
ck
);
return
-
ENODEV
;
BUG
()
;
}
gpmc_base
=
ioremap
(
l
,
SZ_4K
);
if
(
!
gpmc_base
)
{
clk_put
(
gpmc_l3_clk
);
printk
(
KERN_ERR
"Could not get GPMC register memory
\n
"
);
return
-
ENOMEM
;
BUG
()
;
}
BUG_ON
(
IS_ERR
(
gpmc_l3_clk
));
l
=
gpmc_read_reg
(
GPMC_REVISION
);
printk
(
KERN_INFO
"GPMC revision %d.%d
\n
"
,
(
l
>>
4
)
&
0x0f
,
l
&
0x0f
);
/* Set smart idle mode and automatic L3 clock gating */
...
...
arch/arm/plat-omap/clock.c
浏览文件 @
6597cb84
...
...
@@ -428,23 +428,23 @@ static int clk_debugfs_register_one(struct clk *c)
if
(
c
->
id
!=
0
)
sprintf
(
p
,
":%d"
,
c
->
id
);
d
=
debugfs_create_dir
(
s
,
pa
?
pa
->
dent
:
clk_debugfs_root
);
if
(
IS_ERR
(
d
)
)
return
PTR_ERR
(
d
)
;
if
(
!
d
)
return
-
ENOMEM
;
c
->
dent
=
d
;
d
=
debugfs_create_u8
(
"usecount"
,
S_IRUGO
,
c
->
dent
,
(
u8
*
)
&
c
->
usecount
);
if
(
IS_ERR
(
d
)
)
{
err
=
PTR_ERR
(
d
)
;
if
(
!
d
)
{
err
=
-
ENOMEM
;
goto
err_out
;
}
d
=
debugfs_create_u32
(
"rate"
,
S_IRUGO
,
c
->
dent
,
(
u32
*
)
&
c
->
rate
);
if
(
IS_ERR
(
d
)
)
{
err
=
PTR_ERR
(
d
)
;
if
(
!
d
)
{
err
=
-
ENOMEM
;
goto
err_out
;
}
d
=
debugfs_create_x32
(
"flags"
,
S_IRUGO
,
c
->
dent
,
(
u32
*
)
&
c
->
flags
);
if
(
IS_ERR
(
d
)
)
{
err
=
PTR_ERR
(
d
)
;
if
(
!
d
)
{
err
=
-
ENOMEM
;
goto
err_out
;
}
return
0
;
...
...
@@ -483,8 +483,8 @@ static int __init clk_debugfs_init(void)
int
err
;
d
=
debugfs_create_dir
(
"clock"
,
NULL
);
if
(
IS_ERR
(
d
)
)
return
PTR_ERR
(
d
)
;
if
(
!
d
)
return
-
ENOMEM
;
clk_debugfs_root
=
d
;
list_for_each_entry
(
c
,
&
clocks
,
node
)
{
...
...
arch/arm/plat-omap/include/mach/entry-macro.S
浏览文件 @
6597cb84
...
...
@@ -65,7 +65,8 @@
#include <mach/omap34xx.h>
#endif
#define INTCPS_SIR_IRQ_OFFSET 0x0040 /* Active interrupt number */
#define INTCPS_SIR_IRQ_OFFSET 0x0040 /* Active interrupt offset */
#define ACTIVEIRQ_MASK 0x7f /* Active interrupt bits */
.
macro
disable_fiq
.
endm
...
...
@@ -88,6 +89,7 @@
cmp
\
irqnr
,
#
0x0
2222
:
ldrne
\
irqnr
,
[
\
base
,
#
INTCPS_SIR_IRQ_OFFSET
]
and
\
irqnr
,
\
irqnr
,
#
ACTIVEIRQ_MASK
/*
Clear
spurious
bits
*/
.
endm
...
...
arch/arm/plat-omap/include/mach/irqs.h
浏览文件 @
6597cb84
...
...
@@ -372,7 +372,7 @@
/* External TWL4030 gpio interrupts are optional */
#define TWL4030_GPIO_IRQ_BASE TWL4030_PWR_IRQ_END
#ifdef CONFIG_
TWL4030_GPIO
#ifdef CONFIG_
GPIO_TWL4030
#define TWL4030_GPIO_NR_IRQS 18
#else
#define TWL4030_GPIO_NR_IRQS 0
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录