Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
f2a5d6a2
Commit
f2a5d6a2
authored
Mar 16, 2009
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASoC: Fix some missing dai_ops conversions
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
10d9e3d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
sound/soc/s3c24xx/s3c64xx-i2s.c
sound/soc/s3c24xx/s3c64xx-i2s.c
+5
-3
sound/soc/sh/hac.c
sound/soc/sh/hac.c
+6
-6
No files found.
sound/soc/s3c24xx/s3c64xx-i2s.c
View file @
f2a5d6a2
...
@@ -177,6 +177,10 @@ static int s3c64xx_i2s_probe(struct platform_device *pdev,
...
@@ -177,6 +177,10 @@ static int s3c64xx_i2s_probe(struct platform_device *pdev,
#define S3C64XX_I2S_FMTS \
#define S3C64XX_I2S_FMTS \
(SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE)
(SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE)
static
struct
snd_soc_dai_ops
s3c64xx_i2s_dai_ops
=
{
.
set_sysclk
=
s3c64xx_i2s_set_sysclk
,
};
struct
snd_soc_dai
s3c64xx_i2s_dai
=
{
struct
snd_soc_dai
s3c64xx_i2s_dai
=
{
.
name
=
"s3c64xx-i2s"
,
.
name
=
"s3c64xx-i2s"
,
.
id
=
0
,
.
id
=
0
,
...
@@ -193,9 +197,7 @@ struct snd_soc_dai s3c64xx_i2s_dai = {
...
@@ -193,9 +197,7 @@ struct snd_soc_dai s3c64xx_i2s_dai = {
.
rates
=
S3C64XX_I2S_RATES
,
.
rates
=
S3C64XX_I2S_RATES
,
.
formats
=
S3C64XX_I2S_FMTS
,
.
formats
=
S3C64XX_I2S_FMTS
,
},
},
.
ops
=
{
.
ops
=
&
s3c64xx_i2s_dai_ops
,
.
set_sysclk
=
s3c64xx_i2s_set_sysclk
,
},
};
};
EXPORT_SYMBOL_GPL
(
s3c64xx_i2s_dai
);
EXPORT_SYMBOL_GPL
(
s3c64xx_i2s_dai
);
...
...
sound/soc/sh/hac.c
View file @
f2a5d6a2
...
@@ -267,6 +267,10 @@ static int hac_hw_params(struct snd_pcm_substream *substream,
...
@@ -267,6 +267,10 @@ static int hac_hw_params(struct snd_pcm_substream *substream,
#define AC97_FMTS \
#define AC97_FMTS \
SNDRV_PCM_FMTBIT_S16_LE
SNDRV_PCM_FMTBIT_S16_LE
static
struct
snd_soc_dai_ops
hac_dai_ops
=
{
.
hw_params
=
hac_hw_params
,
};
struct
snd_soc_dai
sh4_hac_dai
[]
=
{
struct
snd_soc_dai
sh4_hac_dai
[]
=
{
{
{
.
name
=
"HAC0"
,
.
name
=
"HAC0"
,
...
@@ -284,9 +288,7 @@ struct snd_soc_dai sh4_hac_dai[] = {
...
@@ -284,9 +288,7 @@ struct snd_soc_dai sh4_hac_dai[] = {
.
channels_min
=
2
,
.
channels_min
=
2
,
.
channels_max
=
2
,
.
channels_max
=
2
,
},
},
.
ops
=
{
.
ops
=
&
hac_dai_ops
,
.
hw_params
=
hac_hw_params
,
},
},
},
#ifdef CONFIG_CPU_SUBTYPE_SH7760
#ifdef CONFIG_CPU_SUBTYPE_SH7760
{
{
...
@@ -305,9 +307,7 @@ struct snd_soc_dai sh4_hac_dai[] = {
...
@@ -305,9 +307,7 @@ struct snd_soc_dai sh4_hac_dai[] = {
.
channels_min
=
2
,
.
channels_min
=
2
,
.
channels_max
=
2
,
.
channels_max
=
2
,
},
},
.
ops
=
{
.
ops
=
&
hac_dai_ops
,
.
hw_params
=
hac_hw_params
,
},
},
},
#endif
#endif
...
...
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