Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
e3329cba
Commit
e3329cba
authored
Feb 11, 2011
by
Russell King
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix' of
git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6
into fixes
parents
66e1cfe6
285ca2ee
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
8 deletions
+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
No files found.
arch/arm/mach-pxa/colibri-evalboard.c
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment