Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132926
b: refs/heads/master
c: f2a5d6a
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Mar 16, 2009
1 parent aa0c947 commit 7788b0a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 10d9e3d99ee8332bb73a3d7f12a8cd8ffab8b136
refs/heads/master: f2a5d6a2ea2fa24573a8ce7ea7a7a2cce42e3588
8 changes: 5 additions & 3 deletions trunk/sound/soc/s3c24xx/s3c64xx-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ static int s3c64xx_i2s_probe(struct platform_device *pdev,
#define S3C64XX_I2S_FMTS \
(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 = {
.name = "s3c64xx-i2s",
.id = 0,
Expand All @@ -193,9 +197,7 @@ struct snd_soc_dai s3c64xx_i2s_dai = {
.rates = S3C64XX_I2S_RATES,
.formats = S3C64XX_I2S_FMTS,
},
.ops = {
.set_sysclk = s3c64xx_i2s_set_sysclk,
},
.ops = &s3c64xx_i2s_dai_ops,
};
EXPORT_SYMBOL_GPL(s3c64xx_i2s_dai);

Expand Down
12 changes: 6 additions & 6 deletions trunk/sound/soc/sh/hac.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ static int hac_hw_params(struct snd_pcm_substream *substream,
#define AC97_FMTS \
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[] = {
{
.name = "HAC0",
Expand All @@ -284,9 +288,7 @@ struct snd_soc_dai sh4_hac_dai[] = {
.channels_min = 2,
.channels_max = 2,
},
.ops = {
.hw_params = hac_hw_params,
},
.ops = &hac_dai_ops,
},
#ifdef CONFIG_CPU_SUBTYPE_SH7760
{
Expand All @@ -305,9 +307,7 @@ struct snd_soc_dai sh4_hac_dai[] = {
.channels_min = 2,
.channels_max = 2,
},
.ops = {
.hw_params = hac_hw_params,
},
.ops = &hac_dai_ops,

},
#endif
Expand Down

0 comments on commit 7788b0a

Please sign in to comment.