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
e95e939d
Commit
e95e939d
authored
Jun 17, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/dwc' into asoc-next
parents
c44ddeb8
22a4adf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sound/soc/dwc/designware_i2s.c
sound/soc/dwc/designware_i2s.c
+3
-3
No files found.
sound/soc/dwc/designware_i2s.c
View file @
e95e939d
/*
/*
* ALSA SoC Synopsys I2S Audio Layer
* ALSA SoC Synopsys I2S Audio Layer
*
*
* sound/soc/
spear
/designware_i2s.c
* sound/soc/
dwc
/designware_i2s.c
*
*
* Copyright (C) 2010 ST Microelectronics
* Copyright (C) 2010 ST Microelectronics
* Rajeev Kumar <rajeev-dlh.kumar@st.com>
* Rajeev Kumar <rajeev-dlh.kumar@st.com>
...
@@ -396,7 +396,7 @@ static int dw_i2s_probe(struct platform_device *pdev)
...
@@ -396,7 +396,7 @@ static int dw_i2s_probe(struct platform_device *pdev)
}
}
if
(
cap
&
DWC_I2S_PLAY
)
{
if
(
cap
&
DWC_I2S_PLAY
)
{
dev_dbg
(
&
pdev
->
dev
,
"
SPEAr
: play supported
\n
"
);
dev_dbg
(
&
pdev
->
dev
,
"
designware
: play supported
\n
"
);
dw_i2s_dai
->
playback
.
channels_min
=
MIN_CHANNEL_NUM
;
dw_i2s_dai
->
playback
.
channels_min
=
MIN_CHANNEL_NUM
;
dw_i2s_dai
->
playback
.
channels_max
=
pdata
->
channel
;
dw_i2s_dai
->
playback
.
channels_max
=
pdata
->
channel
;
dw_i2s_dai
->
playback
.
formats
=
pdata
->
snd_fmts
;
dw_i2s_dai
->
playback
.
formats
=
pdata
->
snd_fmts
;
...
@@ -404,7 +404,7 @@ static int dw_i2s_probe(struct platform_device *pdev)
...
@@ -404,7 +404,7 @@ static int dw_i2s_probe(struct platform_device *pdev)
}
}
if
(
cap
&
DWC_I2S_RECORD
)
{
if
(
cap
&
DWC_I2S_RECORD
)
{
dev_dbg
(
&
pdev
->
dev
,
"
SPEAr
: record supported
\n
"
);
dev_dbg
(
&
pdev
->
dev
,
"
designware
: record supported
\n
"
);
dw_i2s_dai
->
capture
.
channels_min
=
MIN_CHANNEL_NUM
;
dw_i2s_dai
->
capture
.
channels_min
=
MIN_CHANNEL_NUM
;
dw_i2s_dai
->
capture
.
channels_max
=
pdata
->
channel
;
dw_i2s_dai
->
capture
.
channels_max
=
pdata
->
channel
;
dw_i2s_dai
->
capture
.
formats
=
pdata
->
snd_fmts
;
dw_i2s_dai
->
capture
.
formats
=
pdata
->
snd_fmts
;
...
...
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