Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
8c81aa40
Commit
8c81aa40
authored
Aug 07, 2006
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Plain Diff
Merge source.mvista.com:/home/git/linux-omap-2.6
parents
1230366a
7245d8ee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
arch/arm/plat-omap/dma.c
arch/arm/plat-omap/dma.c
+8
-0
arch/arm/plat-omap/sti/sti-console.c
arch/arm/plat-omap/sti/sti-console.c
+6
-2
drivers/cbus/tahvo-usb.c
drivers/cbus/tahvo-usb.c
+3
-0
No files found.
arch/arm/plat-omap/dma.c
View file @
8c81aa40
...
...
@@ -1378,6 +1378,14 @@ static int __init omap_init_dma(void)
dma_chan_count
=
16
;
}
else
dma_chan_count
=
9
;
if
(
cpu_is_omap16xx
())
{
u16
w
;
/* this would prevent OMAP sleep */
w
=
omap_readw
(
OMAP1610_DMA_LCD_CTRL
);
w
&=
~
(
1
<<
8
);
omap_writew
(
w
,
OMAP1610_DMA_LCD_CTRL
);
}
}
else
if
(
cpu_is_omap24xx
())
{
u8
revision
=
omap_readb
(
OMAP_DMA4_REVISION
);
printk
(
KERN_INFO
"OMAP DMA hardware revision %d.%d
\n
"
,
...
...
arch/arm/plat-omap/sti/sti-console.c
View file @
8c81aa40
...
...
@@ -21,7 +21,7 @@
static
struct
tty_driver
*
tty_driver
;
static
DEFINE_SPINLOCK
(
sti_console_lock
);
static
unsigned
int
sti_console_channel
;
static
unsigned
int
sti_console_channel
=
-
1
;
static
int
sti_line_done
=
-
1
;
/*
...
...
@@ -143,7 +143,11 @@ static int __init sti_console_init(void)
sti_console_channel
=
info
->
channel
;
}
if
(
unlikely
(
sti_console_channel
==
-
1
))
return
-
EINVAL
;
register_console
(
&
sti_console
);
return
0
;
}
__initcall
(
sti_console_init
);
...
...
@@ -179,7 +183,7 @@ static int __init sti_tty_init(void)
late_initcall
(
sti_tty_init
);
module_param
(
sti_console_channel
,
uint
,
0
);
MODULE_PARM_DESC
(
sti_console_channel
,
"STI console channel
(default 32)
"
);
MODULE_PARM_DESC
(
sti_console_channel
,
"STI console channel"
);
MODULE_AUTHOR
(
"Paul Mundt"
);
MODULE_DESCRIPTION
(
"OMAP STI console support"
);
MODULE_LICENSE
(
"GPL"
);
drivers/cbus/tahvo-usb.c
View file @
8c81aa40
...
...
@@ -155,6 +155,9 @@ static int omap_otg_init(void)
return
-
ENODEV
;
}
#endif
OTG_SYSCON_1_REG
&=
~
OTG_IDLE_EN
;
udelay
(
100
);
/* some of these values are board-specific... */
OTG_SYSCON_2_REG
|=
OTG_EN
/* for B-device: */
...
...
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