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
5a7fa6b0
Commit
5a7fa6b0
authored
Feb 09, 2015
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branches 'asoc/topic/mxs-saif' and 'asoc/topic/nuc900' into asoc-next
parents
6e685ea6
5396ecf7
3a96878e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
12 deletions
+5
-12
sound/soc/mxs/mxs-saif.c
sound/soc/mxs/mxs-saif.c
+5
-5
sound/soc/mxs/mxs-saif.h
sound/soc/mxs/mxs-saif.h
+0
-1
sound/soc/nuc900/nuc900-pcm.c
sound/soc/nuc900/nuc900-pcm.c
+0
-6
No files found.
sound/soc/mxs/mxs-saif.c
View file @
5a7fa6b0
...
...
@@ -710,7 +710,7 @@ static int mxs_saif_probe(struct platform_device *pdev)
struct
device_node
*
np
=
pdev
->
dev
.
of_node
;
struct
resource
*
iores
;
struct
mxs_saif
*
saif
;
int
ret
=
0
;
int
irq
,
ret
=
0
;
struct
device_node
*
master
;
if
(
!
np
)
...
...
@@ -763,16 +763,16 @@ static int mxs_saif_probe(struct platform_device *pdev)
if
(
IS_ERR
(
saif
->
base
))
return
PTR_ERR
(
saif
->
base
);
saif
->
irq
=
platform_get_irq
(
pdev
,
0
);
if
(
saif
->
irq
<
0
)
{
ret
=
saif
->
irq
;
irq
=
platform_get_irq
(
pdev
,
0
);
if
(
irq
<
0
)
{
ret
=
irq
;
dev_err
(
&
pdev
->
dev
,
"failed to get irq resource: %d
\n
"
,
ret
);
return
ret
;
}
saif
->
dev
=
&
pdev
->
dev
;
ret
=
devm_request_irq
(
&
pdev
->
dev
,
saif
->
irq
,
mxs_saif_irq
,
0
,
ret
=
devm_request_irq
(
&
pdev
->
dev
,
irq
,
mxs_saif_irq
,
0
,
dev_name
(
&
pdev
->
dev
),
saif
);
if
(
ret
)
{
dev_err
(
&
pdev
->
dev
,
"failed to request irq
\n
"
);
...
...
sound/soc/mxs/mxs-saif.h
View file @
5a7fa6b0
...
...
@@ -116,7 +116,6 @@ struct mxs_saif {
unsigned
int
mclk
;
unsigned
int
mclk_in_use
;
void
__iomem
*
base
;
int
irq
;
unsigned
int
id
;
unsigned
int
master_id
;
unsigned
int
cur_rate
;
...
...
sound/soc/nuc900/nuc900-pcm.c
View file @
5a7fa6b0
...
...
@@ -306,11 +306,6 @@ static struct snd_pcm_ops nuc900_dma_ops = {
.
mmap
=
nuc900_dma_mmap
,
};
static
void
nuc900_dma_free_dma_buffers
(
struct
snd_pcm
*
pcm
)
{
snd_pcm_lib_preallocate_free_for_all
(
pcm
);
}
static
int
nuc900_dma_new
(
struct
snd_soc_pcm_runtime
*
rtd
)
{
struct
snd_card
*
card
=
rtd
->
card
->
snd_card
;
...
...
@@ -330,7 +325,6 @@ static int nuc900_dma_new(struct snd_soc_pcm_runtime *rtd)
static
struct
snd_soc_platform_driver
nuc900_soc_platform
=
{
.
ops
=
&
nuc900_dma_ops
,
.
pcm_new
=
nuc900_dma_new
,
.
pcm_free
=
nuc900_dma_free_dma_buffers
,
};
static
int
nuc900_soc_platform_probe
(
struct
platform_device
*
pdev
)
...
...
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