Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
e3329cba
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
6
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,发现更多精彩内容 >>
提交
e3329cba
编写于
2月 11, 2011
作者:
R
Russell King
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix' of
git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6
into fixes
上级
66e1cfe6
285ca2ee
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
12 addition
and
8 deletion
+12
-8
arch/arm/mach-pxa/colibri-evalboard.c
arch/arm/mach-pxa/colibri-evalboard.c
+1
-1
arch/arm/mach-pxa/colibri-pxa300.c
arch/arm/mach-pxa/colibri-pxa300.c
+1
-1
arch/arm/mach-pxa/include/mach/colibri.h
arch/arm/mach-pxa/include/mach/colibri.h
+1
-1
arch/arm/mach-pxa/palm27x.c
arch/arm/mach-pxa/palm27x.c
+1
-1
arch/arm/mach-pxa/pm.c
arch/arm/mach-pxa/pm.c
+2
-2
arch/arm/plat-pxa/mfp.c
arch/arm/plat-pxa/mfp.c
+6
-2
未找到文件。
arch/arm/mach-pxa/colibri-evalboard.c
浏览文件 @
e3329cba
...
...
@@ -50,7 +50,7 @@ static void __init colibri_mmc_init(void)
GPIO0_COLIBRI_PXA270_SD_DETECT
;
if
(
machine_is_colibri300
())
/* PXA300 Colibri */
colibri_mci_platform_data
.
gpio_card_detect
=
GPIO
39
_COLIBRI_PXA300_SD_DETECT
;
GPIO
13
_COLIBRI_PXA300_SD_DETECT
;
else
/* PXA320 Colibri */
colibri_mci_platform_data
.
gpio_card_detect
=
GPIO28_COLIBRI_PXA320_SD_DETECT
;
...
...
arch/arm/mach-pxa/colibri-pxa300.c
浏览文件 @
e3329cba
...
...
@@ -41,7 +41,7 @@ static mfp_cfg_t colibri_pxa300_evalboard_pin_config[] __initdata = {
GPIO4_MMC1_DAT1
,
GPIO5_MMC1_DAT2
,
GPIO6_MMC1_DAT3
,
GPIO
39_GPIO
,
/* SD detect
*/
GPIO
13_GPIO
,
/* GPIO13_COLIBRI_PXA300_SD_DETECT
*/
/* UHC */
GPIO0_2_USBH_PEN
,
...
...
arch/arm/mach-pxa/include/mach/colibri.h
浏览文件 @
e3329cba
...
...
@@ -60,7 +60,7 @@ static inline void colibri_pxa3xx_init_nand(void) {}
#define GPIO113_COLIBRI_PXA270_TS_IRQ 113
/* GPIO definitions for Colibri PXA300/310 */
#define GPIO
39_COLIBRI_PXA300_SD_DETECT 39
#define GPIO
13_COLIBRI_PXA300_SD_DETECT 13
/* GPIO definitions for Colibri PXA320 */
#define GPIO28_COLIBRI_PXA320_SD_DETECT 28
...
...
arch/arm/mach-pxa/palm27x.c
浏览文件 @
e3329cba
...
...
@@ -323,7 +323,7 @@ static struct platform_pwm_backlight_data palm27x_backlight_data = {
.
pwm_id
=
0
,
.
max_brightness
=
0xfe
,
.
dft_brightness
=
0x7e
,
.
pwm_period_ns
=
3500
,
.
pwm_period_ns
=
3500
*
1024
,
.
init
=
palm27x_backlight_init
,
.
notify
=
palm27x_backlight_notify
,
.
exit
=
palm27x_backlight_exit
,
...
...
arch/arm/mach-pxa/pm.c
浏览文件 @
e3329cba
...
...
@@ -33,7 +33,7 @@ int pxa_pm_enter(suspend_state_t state)
#endif
/* skip registers saving for standby */
if
(
state
!=
PM_SUSPEND_STANDBY
)
{
if
(
state
!=
PM_SUSPEND_STANDBY
&&
pxa_cpu_pm_fns
->
save
)
{
pxa_cpu_pm_fns
->
save
(
sleep_save
);
/* before sleeping, calculate and save a checksum */
for
(
i
=
0
;
i
<
pxa_cpu_pm_fns
->
save_count
-
1
;
i
++
)
...
...
@@ -44,7 +44,7 @@ int pxa_pm_enter(suspend_state_t state)
pxa_cpu_pm_fns
->
enter
(
state
);
cpu_init
();
if
(
state
!=
PM_SUSPEND_STANDBY
)
{
if
(
state
!=
PM_SUSPEND_STANDBY
&&
pxa_cpu_pm_fns
->
restore
)
{
/* after sleeping, validate the checksum */
for
(
i
=
0
;
i
<
pxa_cpu_pm_fns
->
save_count
-
1
;
i
++
)
checksum
+=
sleep_save
[
i
];
...
...
arch/arm/plat-pxa/mfp.c
浏览文件 @
e3329cba
...
...
@@ -139,10 +139,11 @@ static const unsigned long mfpr_edge[] = {
#define mfp_configured(p) ((p)->config != -1)
/*
* perform a read-back of any MFPR register to make sure the
* perform a read-back of any
valid
MFPR register to make sure the
* previous writings are finished
*/
#define mfpr_sync() (void)__raw_readl(mfpr_mmio_base + 0)
static
unsigned
long
mfpr_off_readback
;
#define mfpr_sync() (void)__raw_readl(mfpr_mmio_base + mfpr_off_readback)
static
inline
void
__mfp_config_run
(
struct
mfp_pin
*
p
)
{
...
...
@@ -248,6 +249,9 @@ void __init mfp_init_addr(struct mfp_addr_map *map)
spin_lock_irqsave
(
&
mfp_spin_lock
,
flags
);
/* mfp offset for readback */
mfpr_off_readback
=
map
[
0
].
offset
;
for
(
p
=
map
;
p
->
start
!=
MFP_PIN_INVALID
;
p
++
)
{
offset
=
p
->
offset
;
i
=
p
->
start
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录