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
Kirill Smelkov
linux
Commits
53e6a100
Commit
53e6a100
authored
Jun 28, 2012
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixes-omap4-dsp' into fixes-non-critical
parents
00a36698
222e5cec
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
arch/arm/mach-omap2/mailbox.c
arch/arm/mach-omap2/mailbox.c
+0
-2
arch/arm/mach-omap2/omap-iommu.c
arch/arm/mach-omap2/omap-iommu.c
+2
-4
arch/arm/plat-omap/mailbox.c
arch/arm/plat-omap/mailbox.c
+9
-4
No files found.
arch/arm/mach-omap2/mailbox.c
View file @
53e6a100
...
...
@@ -83,8 +83,6 @@ static int omap2_mbox_startup(struct omap_mbox *mbox)
l
=
mbox_read_reg
(
MAILBOX_REVISION
);
pr_debug
(
"omap mailbox rev %d.%d
\n
"
,
(
l
&
0xf0
)
>>
4
,
(
l
&
0x0f
));
omap2_mbox_enable_irq
(
mbox
,
IRQ_RX
);
return
0
;
}
...
...
arch/arm/mach-omap2/omap-iommu.c
View file @
53e6a100
...
...
@@ -73,19 +73,17 @@ static struct iommu_device omap4_devices[] = {
.
da_end
=
0xFFFFF000
,
},
},
#if defined(CONFIG_MPU_TESLA_IOMMU)
{
.
base
=
OMAP4_MMU2_BASE
,
.
irq
=
INT_44XX_DSP
_MMU
,
.
irq
=
OMAP44XX_IRQ_TESLA
_MMU
,
.
pdata
=
{
.
name
=
"tesla"
,
.
nr_tlb_entries
=
32
,
.
clk_name
=
"
tesla_i
ck"
,
.
clk_name
=
"
dsp_f
ck"
,
.
da_start
=
0x0
,
.
da_end
=
0xFFFFF000
,
},
},
#endif
};
#define NR_OMAP4_IOMMU_DEVICES ARRAY_SIZE(omap4_devices)
static
struct
platform_device
*
omap4_iommu_pdev
[
NR_OMAP4_IOMMU_DEVICES
];
...
...
arch/arm/plat-omap/mailbox.c
View file @
53e6a100
...
...
@@ -282,6 +282,8 @@ static int omap_mbox_startup(struct omap_mbox *mbox)
}
mbox
->
rxq
=
mq
;
mq
->
mbox
=
mbox
;
omap_mbox_enable_irq
(
mbox
,
IRQ_RX
);
}
mutex_unlock
(
&
mbox_configured_lock
);
return
0
;
...
...
@@ -305,6 +307,7 @@ static void omap_mbox_fini(struct omap_mbox *mbox)
mutex_lock
(
&
mbox_configured_lock
);
if
(
!--
mbox
->
use_count
)
{
omap_mbox_disable_irq
(
mbox
,
IRQ_RX
);
free_irq
(
mbox
->
irq
,
mbox
);
tasklet_kill
(
&
mbox
->
txq
->
tasklet
);
flush_work_sync
(
&
mbox
->
rxq
->
work
);
...
...
@@ -338,13 +341,15 @@ struct omap_mbox *omap_mbox_get(const char *name, struct notifier_block *nb)
if
(
!
mbox
)
return
ERR_PTR
(
-
ENOENT
);
ret
=
omap_mbox_startup
(
mbox
);
if
(
ret
)
return
ERR_PTR
(
-
ENODEV
);
if
(
nb
)
blocking_notifier_chain_register
(
&
mbox
->
notifier
,
nb
);
ret
=
omap_mbox_startup
(
mbox
);
if
(
ret
)
{
blocking_notifier_chain_unregister
(
&
mbox
->
notifier
,
nb
);
return
ERR_PTR
(
-
ENODEV
);
}
return
mbox
;
}
EXPORT_SYMBOL
(
omap_mbox_get
);
...
...
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