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
11cd4cb5
Commit
11cd4cb5
authored
Oct 17, 2008
by
Russell King
Committed by
Russell King
Oct 17, 2008
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-rmk-fixes' of
git://aeryn.fluff.org.uk/bjdooks/linux
parents
485bdde7
55b404fd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
arch/arm/mach-s3c2443/clock.c
arch/arm/mach-s3c2443/clock.c
+1
-2
arch/arm/plat-s3c24xx/pwm-clock.c
arch/arm/plat-s3c24xx/pwm-clock.c
+1
-1
arch/arm/plat-s3c24xx/pwm.c
arch/arm/plat-s3c24xx/pwm.c
+6
-6
drivers/serial/Kconfig
drivers/serial/Kconfig
+1
-1
No files found.
arch/arm/mach-s3c2443/clock.c
View file @
11cd4cb5
...
...
@@ -1033,8 +1033,7 @@ void __init s3c2443_init_clocks(int xtal)
fclk
=
pll
/
s3c2443_fclk_div
(
clkdiv0
);
hclk
=
s3c2443_prediv_getrate
(
&
clk_prediv
);
hclk
=
hclk
/
s3c2443_get_hdiv
(
clkdiv0
);
hclk
=
hclk
/
((
clkdiv0
&
S3C2443_CLKDIV0_HALF_HCLK
)
?
2
:
1
);
hclk
/=
s3c2443_get_hdiv
(
clkdiv0
);
pclk
=
hclk
/
((
clkdiv0
&
S3C2443_CLKDIV0_HALF_PCLK
)
?
2
:
1
);
s3c24xx_setup_clocks
(
xtal
,
fclk
,
hclk
,
pclk
);
...
...
arch/arm/plat-s3c24xx/pwm-clock.c
View file @
11cd4cb5
...
...
@@ -315,7 +315,7 @@ static int clk_pwm_tin_set_parent(struct clk *clk, struct clk *parent)
if
(
parent
==
s3c24xx_pwmclk_tclk
(
id
))
bits
=
S3C2410_TCFG1_MUX_TCLK
<<
shift
;
else
if
(
parent
==
s3c24xx_pwmclk_tdiv
(
id
))
bits
=
clk_pwm_tdiv_bits
(
to_tdiv
(
clk
))
<<
shift
;
bits
=
clk_pwm_tdiv_bits
(
to_tdiv
(
parent
))
<<
shift
;
else
return
-
EINVAL
;
...
...
arch/arm/plat-s3c24xx/pwm.c
View file @
11cd4cb5
...
...
@@ -56,7 +56,7 @@ static struct clk *clk_scaler[2];
} \
}
#define DEFINE_TIMER(_tmr_no, _irq) \
#define DEFINE_
S3C_
TIMER(_tmr_no, _irq) \
.name = "s3c24xx-pwm", \
.id = _tmr_no, \
.num_resources = TIMER_RESOURCE_SIZE, \
...
...
@@ -67,11 +67,11 @@ static struct clk *clk_scaler[2];
*/
struct
platform_device
s3c_device_timer
[]
=
{
[
0
]
=
{
DEFINE_TIMER
(
0
,
IRQ_TIMER0
)
},
[
1
]
=
{
DEFINE_TIMER
(
1
,
IRQ_TIMER1
)
},
[
2
]
=
{
DEFINE_TIMER
(
2
,
IRQ_TIMER2
)
},
[
3
]
=
{
DEFINE_TIMER
(
3
,
IRQ_TIMER3
)
},
[
4
]
=
{
DEFINE_TIMER
(
4
,
IRQ_TIMER4
)
},
[
0
]
=
{
DEFINE_
S3C_
TIMER
(
0
,
IRQ_TIMER0
)
},
[
1
]
=
{
DEFINE_
S3C_
TIMER
(
1
,
IRQ_TIMER1
)
},
[
2
]
=
{
DEFINE_
S3C_
TIMER
(
2
,
IRQ_TIMER2
)
},
[
3
]
=
{
DEFINE_
S3C_
TIMER
(
3
,
IRQ_TIMER3
)
},
[
4
]
=
{
DEFINE_
S3C_
TIMER
(
4
,
IRQ_TIMER4
)
},
};
static
inline
int
pwm_is_tdiv
(
struct
pwm_device
*
pwm
)
...
...
drivers/serial/Kconfig
View file @
11cd4cb5
...
...
@@ -457,7 +457,7 @@ config SERIAL_SAMSUNG
config SERIAL_SAMSUNG_DEBUG
bool "Samsung SoC serial debug"
depends on SERIAL_SAMSUNG
depends on SERIAL_SAMSUNG
&& DEBUG_LL
help
Add support for debugging the serial driver. Since this is
generally being used as a console, we use our own output
...
...
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