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
4b47ab42
Commit
4b47ab42
authored
Nov 20, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/rcar' into asoc-linus
parents
cde4d759
a0d32bca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/core.c
+5
-8
sound/soc/sh/rcar/scu.c
sound/soc/sh/rcar/scu.c
+1
-1
No files found.
sound/soc/sh/rcar/core.c
View file @
4b47ab42
...
...
@@ -200,9 +200,8 @@ static void rsnd_dma_do_work(struct work_struct *work)
return
;
}
dma_async_issue_pending
(
dma
->
chan
);
}
dma_async_issue_pending
(
dma
->
chan
);
}
int
rsnd_dma_available
(
struct
rsnd_dma
*
dma
)
...
...
@@ -288,15 +287,13 @@ int rsnd_dai_connect(struct rsnd_dai *rdai,
struct
rsnd_mod
*
mod
,
struct
rsnd_dai_stream
*
io
)
{
struct
rsnd_priv
*
priv
=
rsnd_mod_to_priv
(
mod
);
struct
device
*
dev
=
rsnd_priv_to_dev
(
priv
);
if
(
!
mod
)
{
dev_err
(
dev
,
"NULL mod
\n
"
);
if
(
!
mod
)
return
-
EIO
;
}
if
(
!
list_empty
(
&
mod
->
list
))
{
struct
rsnd_priv
*
priv
=
rsnd_mod_to_priv
(
mod
);
struct
device
*
dev
=
rsnd_priv_to_dev
(
priv
);
dev_err
(
dev
,
"%s%d is not empty
\n
"
,
rsnd_mod_name
(
mod
),
rsnd_mod_id
(
mod
));
...
...
sound/soc/sh/rcar/scu.c
View file @
4b47ab42
...
...
@@ -68,7 +68,7 @@ static int rsnd_scu_set_route(struct rsnd_priv *priv,
return
0
;
id
=
rsnd_mod_id
(
mod
);
if
(
id
<
0
||
id
>
ARRAY_SIZE
(
routes
))
if
(
id
<
0
||
id
>
=
ARRAY_SIZE
(
routes
))
return
-
EIO
;
/*
...
...
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