Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99167
b: refs/heads/master
c: 5364065
h: refs/heads/master
i:
  99165: 6550cbc
  99163: 6a2d4da
  99159: 3f89931
  99151: 119edab
  99135: 95dbf9c
v: v3
  • Loading branch information
Liam Girdwood authored and Jaroslav Kysela committed Jul 10, 2008
1 parent 2cdcc47 commit e469d89
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 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: 1992a6fbd929196aebe95e0e7b04c4da66c3bfec
refs/heads/master: 53640650ffe07f6201ecae0b0dca078b97327247
2 changes: 1 addition & 1 deletion trunk/sound/soc/sh/dma-sh7760.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ static void camelot_pcm_free(struct snd_pcm *pcm)
}

static int camelot_pcm_new(struct snd_card *card,
struct snd_soc_codec_dai *dai,
struct snd_soc_dai *dai,
struct snd_pcm *pcm)
{
/* dont use SNDRV_DMA_TYPE_DEV, since it will oops the SH kernel
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/sh/hac.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ static int hac_hw_params(struct snd_pcm_substream *substream,
#define AC97_FMTS \
SNDRV_PCM_FMTBIT_S16_LE

struct snd_soc_cpu_dai sh4_hac_dai[] = {
struct snd_soc_dai sh4_hac_dai[] = {
{
.name = "HAC0",
.id = 0,
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/sh/sh7760-ac97.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#define IPSEL 0xFE400034

/* platform specific structs can be declared here */
extern struct snd_soc_cpu_dai sh4_hac_dai[2];
extern struct snd_soc_dai sh4_hac_dai[2];
extern struct snd_soc_platform sh7760_soc_platform;

static int machine_init(struct snd_soc_codec *codec)
Expand Down
8 changes: 4 additions & 4 deletions trunk/sound/soc/sh/ssi.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ static int ssi_hw_params(struct snd_pcm_substream *substream,
return 0;
}

static int ssi_set_sysclk(struct snd_soc_cpu_dai *cpu_dai, int clk_id,
static int ssi_set_sysclk(struct snd_soc_dai *cpu_dai, int clk_id,
unsigned int freq, int dir)
{
struct ssi_priv *ssi = &ssi_cpu_data[cpu_dai->id];
Expand All @@ -222,7 +222,7 @@ static int ssi_set_sysclk(struct snd_soc_cpu_dai *cpu_dai, int clk_id,
* This divider is used to generate the SSI_SCK (I2S bitclock) from the
* clock at the HAC_BIT_CLK ("oversampling clock") pin.
*/
static int ssi_set_clkdiv(struct snd_soc_cpu_dai *dai, int did, int div)
static int ssi_set_clkdiv(struct snd_soc_dai *dai, int did, int div)
{
struct ssi_priv *ssi = &ssi_cpu_data[dai->id];
unsigned long ssicr;
Expand All @@ -245,7 +245,7 @@ static int ssi_set_clkdiv(struct snd_soc_cpu_dai *dai, int did, int div)
return 0;
}

static int ssi_set_fmt(struct snd_soc_cpu_dai *dai, unsigned int fmt)
static int ssi_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
{
struct ssi_priv *ssi = &ssi_cpu_data[dai->id];
unsigned long ssicr = SSIREG(SSICR);
Expand Down Expand Up @@ -332,7 +332,7 @@ static int ssi_set_fmt(struct snd_soc_cpu_dai *dai, unsigned int fmt)
SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_U24_3LE | \
SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_U32_LE)

struct snd_soc_cpu_dai sh4_ssi_dai[] = {
struct snd_soc_dai sh4_ssi_dai[] = {
{
.name = "SSI0",
.id = 0,
Expand Down

0 comments on commit e469d89

Please sign in to comment.