Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
4e66a0f5
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 4 年多
通知
15
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
4e66a0f5
编写于
7月 09, 2009
作者:
R
Russell King
提交者:
Russell King
7月 09, 2009
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix' of
git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6
上级
34f25476
22fe8439
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
10 addition
and
13 deletion
+10
-13
arch/arm/mach-pxa/include/mach/mfp-pxa300.h
arch/arm/mach-pxa/include/mach/mfp-pxa300.h
+3
-3
arch/arm/mach-pxa/pxa3xx.c
arch/arm/mach-pxa/pxa3xx.c
+1
-1
arch/arm/plat-pxa/gpio.c
arch/arm/plat-pxa/gpio.c
+2
-7
drivers/mmc/host/pxamci.c
drivers/mmc/host/pxamci.c
+2
-2
drivers/video/backlight/pwm_bl.c
drivers/video/backlight/pwm_bl.c
+2
-0
未找到文件。
arch/arm/mach-pxa/include/mach/mfp-pxa300.h
浏览文件 @
4e66a0f5
...
...
@@ -567,9 +567,9 @@
#define GPIO37_ULPI_DATA_OUT_7 MFP_CFG(GPIO37, AF3)
#define GPIO33_ULPI_OTG_INTR MFP_CFG(GPIO33, AF1)
#define ULPI_DIR MFP_CFG_DRV(ULPI_DIR,
MFP_AF0, MFP_
DS01X)
#define ULPI_NXT MFP_CFG_DRV(ULPI_NXT,
MFP_AF0, MFP_
DS01X)
#define ULPI_STP MFP_CFG_DRV(ULPI_STP,
MFP_AF0, MFP_
DS01X)
#define ULPI_DIR MFP_CFG_DRV(ULPI_DIR,
AF0,
DS01X)
#define ULPI_NXT MFP_CFG_DRV(ULPI_NXT,
AF0,
DS01X)
#define ULPI_STP MFP_CFG_DRV(ULPI_STP,
AF0,
DS01X)
#endif
/* CONFIG_CPU_PXA310 */
#endif
/* __ASM_ARCH_MFP_PXA300_H */
arch/arm/mach-pxa/pxa3xx.c
浏览文件 @
4e66a0f5
...
...
@@ -250,7 +250,7 @@ static DEFINE_PXA3_CKEN(pxa3xx_mmc2, MMC2, 19500000, 0);
static
struct
clk_lookup
pxa3xx_clkregs
[]
=
{
INIT_CLKREG
(
&
clk_pxa3xx_pout
,
NULL
,
"CLK_POUT"
),
/* Power I2C clock is always on */
INIT_CLKREG
(
&
clk_dummy
,
"pxa
2xx-
i2c.1"
,
NULL
),
INIT_CLKREG
(
&
clk_dummy
,
"pxa
3xx-pwr
i2c.1"
,
NULL
),
INIT_CLKREG
(
&
clk_pxa3xx_lcd
,
"pxa2xx-fb"
,
NULL
),
INIT_CLKREG
(
&
clk_pxa3xx_camera
,
NULL
,
"CAMCLK"
),
INIT_CLKREG
(
&
clk_pxa3xx_ac97
,
NULL
,
"AC97CLK"
),
...
...
arch/arm/plat-pxa/gpio.c
浏览文件 @
4e66a0f5
...
...
@@ -16,7 +16,7 @@
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/sysdev.h>
#include <linux/
bootmem
.h>
#include <linux/
slab
.h>
#include <mach/gpio.h>
...
...
@@ -112,17 +112,12 @@ static int __init pxa_init_gpio_chip(int gpio_end)
int
i
,
gpio
,
nbanks
=
gpio_to_bank
(
gpio_end
)
+
1
;
struct
pxa_gpio_chip
*
chips
;
/* this is early, we have to use bootmem allocator, and we really
* want this to be allocated dynamically for different 'gpio_end'
*/
chips
=
alloc_bootmem_low
(
nbanks
*
sizeof
(
struct
pxa_gpio_chip
));
chips
=
kzalloc
(
nbanks
*
sizeof
(
struct
pxa_gpio_chip
),
GFP_KERNEL
);
if
(
chips
==
NULL
)
{
pr_err
(
"%s: failed to allocate GPIO chips
\n
"
,
__func__
);
return
-
ENOMEM
;
}
memset
(
chips
,
0
,
nbanks
*
sizeof
(
struct
pxa_gpio_chip
));
for
(
i
=
0
,
gpio
=
0
;
i
<
nbanks
;
i
++
,
gpio
+=
32
)
{
struct
gpio_chip
*
c
=
&
chips
[
i
].
chip
;
...
...
drivers/mmc/host/pxamci.c
浏览文件 @
4e66a0f5
...
...
@@ -168,12 +168,12 @@ static void pxamci_setup_data(struct pxamci_host *host, struct mmc_data *data)
if
(
data
->
flags
&
MMC_DATA_READ
)
{
host
->
dma_dir
=
DMA_FROM_DEVICE
;
dcmd
=
DCMD_INCTRGADDR
|
DCMD_FLOW
TRG
;
dcmd
=
DCMD_INCTRGADDR
|
DCMD_FLOW
SRC
;
DRCMR
(
host
->
dma_drcmrtx
)
=
0
;
DRCMR
(
host
->
dma_drcmrrx
)
=
host
->
dma
|
DRCMR_MAPVLD
;
}
else
{
host
->
dma_dir
=
DMA_TO_DEVICE
;
dcmd
=
DCMD_INCSRCADDR
|
DCMD_FLOW
SRC
;
dcmd
=
DCMD_INCSRCADDR
|
DCMD_FLOW
TRG
;
DRCMR
(
host
->
dma_drcmrrx
)
=
0
;
DRCMR
(
host
->
dma_drcmrtx
)
=
host
->
dma
|
DRCMR_MAPVLD
;
}
...
...
drivers/video/backlight/pwm_bl.c
浏览文件 @
4e66a0f5
...
...
@@ -145,6 +145,8 @@ static int pwm_backlight_suspend(struct platform_device *pdev,
struct
backlight_device
*
bl
=
platform_get_drvdata
(
pdev
);
struct
pwm_bl_data
*
pb
=
dev_get_drvdata
(
&
bl
->
dev
);
if
(
pb
->
notify
)
pb
->
notify
(
0
);
pwm_config
(
pb
->
pwm
,
0
,
pb
->
period
);
pwm_disable
(
pb
->
pwm
);
return
0
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录