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
1df63cc0
Commit
1df63cc0
authored
Feb 11, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/dwc' into asoc-next
parents
8e37fcb6
0099d24c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
sound/soc/dwc/designware_i2s.c
sound/soc/dwc/designware_i2s.c
+4
-0
No files found.
sound/soc/dwc/designware_i2s.c
View file @
1df63cc0
...
...
@@ -210,15 +210,19 @@ static int dw_i2s_hw_params(struct snd_pcm_substream *substream,
switch
(
config
->
chan_nr
)
{
case
EIGHT_CHANNEL_SUPPORT
:
ch_reg
=
3
;
break
;
case
SIX_CHANNEL_SUPPORT
:
ch_reg
=
2
;
break
;
case
FOUR_CHANNEL_SUPPORT
:
ch_reg
=
1
;
break
;
case
TWO_CHANNEL_SUPPORT
:
ch_reg
=
0
;
break
;
default:
dev_err
(
dev
->
dev
,
"channel not supported
\n
"
);
return
-
EINVAL
;
}
i2s_disable_channels
(
dev
,
substream
->
stream
);
...
...
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