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
641783ac
Commit
641783ac
authored
Jun 03, 2014
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/davinci' into asoc-next
parents
edc3596f
2896b8b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
sound/soc/davinci/davinci-evm.c
sound/soc/davinci/davinci-evm.c
+4
-5
No files found.
sound/soc/davinci/davinci-evm.c
View file @
641783ac
...
@@ -38,7 +38,7 @@ struct snd_soc_card_drvdata_davinci {
...
@@ -38,7 +38,7 @@ struct snd_soc_card_drvdata_davinci {
static
int
evm_startup
(
struct
snd_pcm_substream
*
substream
)
static
int
evm_startup
(
struct
snd_pcm_substream
*
substream
)
{
{
struct
snd_soc_pcm_runtime
*
rtd
=
substream
->
private_data
;
struct
snd_soc_pcm_runtime
*
rtd
=
substream
->
private_data
;
struct
snd_soc_card
*
soc_card
=
rtd
->
c
odec
->
c
ard
;
struct
snd_soc_card
*
soc_card
=
rtd
->
card
;
struct
snd_soc_card_drvdata_davinci
*
drvdata
=
struct
snd_soc_card_drvdata_davinci
*
drvdata
=
snd_soc_card_get_drvdata
(
soc_card
);
snd_soc_card_get_drvdata
(
soc_card
);
...
@@ -51,7 +51,7 @@ static int evm_startup(struct snd_pcm_substream *substream)
...
@@ -51,7 +51,7 @@ static int evm_startup(struct snd_pcm_substream *substream)
static
void
evm_shutdown
(
struct
snd_pcm_substream
*
substream
)
static
void
evm_shutdown
(
struct
snd_pcm_substream
*
substream
)
{
{
struct
snd_soc_pcm_runtime
*
rtd
=
substream
->
private_data
;
struct
snd_soc_pcm_runtime
*
rtd
=
substream
->
private_data
;
struct
snd_soc_card
*
soc_card
=
rtd
->
c
odec
->
c
ard
;
struct
snd_soc_card
*
soc_card
=
rtd
->
card
;
struct
snd_soc_card_drvdata_davinci
*
drvdata
=
struct
snd_soc_card_drvdata_davinci
*
drvdata
=
snd_soc_card_get_drvdata
(
soc_card
);
snd_soc_card_get_drvdata
(
soc_card
);
...
@@ -65,8 +65,7 @@ static int evm_hw_params(struct snd_pcm_substream *substream,
...
@@ -65,8 +65,7 @@ static int evm_hw_params(struct snd_pcm_substream *substream,
struct
snd_soc_pcm_runtime
*
rtd
=
substream
->
private_data
;
struct
snd_soc_pcm_runtime
*
rtd
=
substream
->
private_data
;
struct
snd_soc_dai
*
codec_dai
=
rtd
->
codec_dai
;
struct
snd_soc_dai
*
codec_dai
=
rtd
->
codec_dai
;
struct
snd_soc_dai
*
cpu_dai
=
rtd
->
cpu_dai
;
struct
snd_soc_dai
*
cpu_dai
=
rtd
->
cpu_dai
;
struct
snd_soc_codec
*
codec
=
rtd
->
codec
;
struct
snd_soc_card
*
soc_card
=
rtd
->
card
;
struct
snd_soc_card
*
soc_card
=
codec
->
card
;
int
ret
=
0
;
int
ret
=
0
;
unsigned
sysclk
=
((
struct
snd_soc_card_drvdata_davinci
*
)
unsigned
sysclk
=
((
struct
snd_soc_card_drvdata_davinci
*
)
snd_soc_card_get_drvdata
(
soc_card
))
->
sysclk
;
snd_soc_card_get_drvdata
(
soc_card
))
->
sysclk
;
...
@@ -125,7 +124,7 @@ static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd)
...
@@ -125,7 +124,7 @@ static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd)
{
{
struct
snd_soc_card
*
card
=
rtd
->
card
;
struct
snd_soc_card
*
card
=
rtd
->
card
;
struct
snd_soc_codec
*
codec
=
rtd
->
codec
;
struct
snd_soc_codec
*
codec
=
rtd
->
codec
;
struct
device_node
*
np
=
c
odec
->
c
ard
->
dev
->
of_node
;
struct
device_node
*
np
=
card
->
dev
->
of_node
;
int
ret
;
int
ret
;
/* Add davinci-evm specific widgets */
/* Add davinci-evm specific widgets */
...
...
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