Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
669cb51c
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
669cb51c
编写于
15年前
作者:
E
Eric Miao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[ARM] pxa: use chip->ack() instead of accessing GEDR directly
Signed-off-by:
N
Eric Miao
<
eric.y.miao@gmail.com
>
上级
2a2d10f3
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
6 addition
and
7 deletion
+6
-7
arch/arm/mach-pxa/cm-x2xx-pci.c
arch/arm/mach-pxa/cm-x2xx-pci.c
+1
-1
arch/arm/mach-pxa/lpd270.c
arch/arm/mach-pxa/lpd270.c
+1
-1
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-pxa/lubbock.c
+1
-1
arch/arm/mach-pxa/mainstone.c
arch/arm/mach-pxa/mainstone.c
+1
-1
arch/arm/mach-pxa/pcm990-baseboard.c
arch/arm/mach-pxa/pcm990-baseboard.c
+1
-2
arch/arm/mach-pxa/viper.c
arch/arm/mach-pxa/viper.c
+1
-1
未找到文件。
arch/arm/mach-pxa/cm-x2xx-pci.c
浏览文件 @
669cb51c
...
@@ -59,7 +59,7 @@ void __init cmx2xx_pci_adjust_zones(int node, unsigned long *zone_size,
...
@@ -59,7 +59,7 @@ void __init cmx2xx_pci_adjust_zones(int node, unsigned long *zone_size,
static
void
cmx2xx_it8152_irq_demux
(
unsigned
int
irq
,
struct
irq_desc
*
desc
)
static
void
cmx2xx_it8152_irq_demux
(
unsigned
int
irq
,
struct
irq_desc
*
desc
)
{
{
/* clear our parent irq */
/* clear our parent irq */
GEDR
(
cmx2xx_it8152_irq_gpio
)
=
GPIO_bit
(
cmx2xx_it8152_irq_gpio
);
desc
->
chip
->
ack
(
irq
);
it8152_irq_demux
(
irq
,
desc
);
it8152_irq_demux
(
irq
,
desc
);
}
}
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-pxa/lpd270.c
浏览文件 @
669cb51c
...
@@ -121,7 +121,7 @@ static void lpd270_irq_handler(unsigned int irq, struct irq_desc *desc)
...
@@ -121,7 +121,7 @@ static void lpd270_irq_handler(unsigned int irq, struct irq_desc *desc)
pending
=
__raw_readw
(
LPD270_INT_STATUS
)
&
lpd270_irq_enabled
;
pending
=
__raw_readw
(
LPD270_INT_STATUS
)
&
lpd270_irq_enabled
;
do
{
do
{
GEDR
(
0
)
=
GPIO_bit
(
0
);
/* clear useless edge notification */
desc
->
chip
->
ack
(
irq
);
/* clear useless edge notification */
if
(
likely
(
pending
))
{
if
(
likely
(
pending
))
{
irq
=
LPD270_IRQ
(
0
)
+
__ffs
(
pending
);
irq
=
LPD270_IRQ
(
0
)
+
__ffs
(
pending
);
generic_handle_irq
(
irq
);
generic_handle_irq
(
irq
);
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-pxa/lubbock.c
浏览文件 @
669cb51c
...
@@ -158,7 +158,7 @@ static void lubbock_irq_handler(unsigned int irq, struct irq_desc *desc)
...
@@ -158,7 +158,7 @@ static void lubbock_irq_handler(unsigned int irq, struct irq_desc *desc)
{
{
unsigned
long
pending
=
LUB_IRQ_SET_CLR
&
lubbock_irq_enabled
;
unsigned
long
pending
=
LUB_IRQ_SET_CLR
&
lubbock_irq_enabled
;
do
{
do
{
GEDR
(
0
)
=
GPIO_bit
(
0
);
/* clear our parent irq */
desc
->
chip
->
ack
(
irq
);
/* clear our parent irq */
if
(
likely
(
pending
))
{
if
(
likely
(
pending
))
{
irq
=
LUBBOCK_IRQ
(
0
)
+
__ffs
(
pending
);
irq
=
LUBBOCK_IRQ
(
0
)
+
__ffs
(
pending
);
generic_handle_irq
(
irq
);
generic_handle_irq
(
irq
);
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-pxa/mainstone.c
浏览文件 @
669cb51c
...
@@ -162,7 +162,7 @@ static void mainstone_irq_handler(unsigned int irq, struct irq_desc *desc)
...
@@ -162,7 +162,7 @@ static void mainstone_irq_handler(unsigned int irq, struct irq_desc *desc)
{
{
unsigned
long
pending
=
MST_INTSETCLR
&
mainstone_irq_enabled
;
unsigned
long
pending
=
MST_INTSETCLR
&
mainstone_irq_enabled
;
do
{
do
{
GEDR
(
0
)
=
GPIO_bit
(
0
);
/* clear useless edge notification */
desc
->
chip
->
ack
(
irq
);
/* clear useless edge notification */
if
(
likely
(
pending
))
{
if
(
likely
(
pending
))
{
irq
=
MAINSTONE_IRQ
(
0
)
+
__ffs
(
pending
);
irq
=
MAINSTONE_IRQ
(
0
)
+
__ffs
(
pending
);
generic_handle_irq
(
irq
);
generic_handle_irq
(
irq
);
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-pxa/pcm990-baseboard.c
浏览文件 @
669cb51c
...
@@ -259,8 +259,7 @@ static void pcm990_irq_handler(unsigned int irq, struct irq_desc *desc)
...
@@ -259,8 +259,7 @@ static void pcm990_irq_handler(unsigned int irq, struct irq_desc *desc)
unsigned
long
pending
=
(
~
PCM990_INTSETCLR
)
&
pcm990_irq_enabled
;
unsigned
long
pending
=
(
~
PCM990_INTSETCLR
)
&
pcm990_irq_enabled
;
do
{
do
{
GEDR
(
PCM990_CTRL_INT_IRQ_GPIO
)
=
desc
->
chip
->
ack
(
irq
);
/* clear our parent IRQ */
GPIO_bit
(
PCM990_CTRL_INT_IRQ_GPIO
);
if
(
likely
(
pending
))
{
if
(
likely
(
pending
))
{
irq
=
PCM027_IRQ
(
0
)
+
__ffs
(
pending
);
irq
=
PCM027_IRQ
(
0
)
+
__ffs
(
pending
);
generic_handle_irq
(
irq
);
generic_handle_irq
(
irq
);
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-pxa/viper.c
浏览文件 @
669cb51c
...
@@ -281,7 +281,7 @@ static void viper_irq_handler(unsigned int irq, struct irq_desc *desc)
...
@@ -281,7 +281,7 @@ static void viper_irq_handler(unsigned int irq, struct irq_desc *desc)
do
{
do
{
/* we're in a chained irq handler,
/* we're in a chained irq handler,
* so ack the interrupt by hand */
* so ack the interrupt by hand */
GEDR
(
VIPER_CPLD_GPIO
)
=
GPIO_bit
(
VIPER_CPLD_GPIO
);
desc
->
chip
->
ack
(
irq
);
if
(
likely
(
pending
))
{
if
(
likely
(
pending
))
{
irq
=
viper_bit_to_irq
(
__ffs
(
pending
));
irq
=
viper_bit_to_irq
(
__ffs
(
pending
));
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录
反馈
建议
客服
返回
顶部