diff options
| author | Takashi Iwai <tiwai@suse.de> | 2011-09-27 12:21:41 -0400 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2011-09-27 12:21:41 -0400 |
| commit | 0fac25908f8e26a27d869f0aa4fad04c3db60dc7 (patch) | |
| tree | 226be2faebf7fad80ef2eb44edca9b0c18eed511 | |
| parent | 61a6a108d15213f5ee06332e1e7766d3860e4453 (diff) | |
| parent | 9058020cd9ae3423d6fe7de591698dc96b6701aa (diff) | |
Merge branch 'fix/asoc' into for-linus
| -rw-r--r-- | sound/soc/codecs/ssm2602.c | 3 | ||||
| -rw-r--r-- | sound/soc/omap/omap-mcbsp.c | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c index 84f4ad568556..9801cd7cfcb5 100644 --- a/sound/soc/codecs/ssm2602.c +++ b/sound/soc/codecs/ssm2602.c | |||
| @@ -431,7 +431,8 @@ static int ssm2602_set_dai_fmt(struct snd_soc_dai *codec_dai, | |||
| 431 | static int ssm2602_set_bias_level(struct snd_soc_codec *codec, | 431 | static int ssm2602_set_bias_level(struct snd_soc_codec *codec, |
| 432 | enum snd_soc_bias_level level) | 432 | enum snd_soc_bias_level level) |
| 433 | { | 433 | { |
| 434 | u16 reg = snd_soc_read(codec, SSM2602_PWR) & 0xff7f; | 434 | u16 reg = snd_soc_read(codec, SSM2602_PWR); |
| 435 | reg &= ~(PWR_POWER_OFF | PWR_OSC_PDN); | ||
| 435 | 436 | ||
| 436 | switch (level) { | 437 | switch (level) { |
| 437 | case SND_SOC_BIAS_ON: | 438 | case SND_SOC_BIAS_ON: |
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c index ebcc2d4d2b18..478d60778453 100644 --- a/sound/soc/omap/omap-mcbsp.c +++ b/sound/soc/omap/omap-mcbsp.c | |||
| @@ -516,6 +516,12 @@ static int omap_mcbsp_dai_set_dai_sysclk(struct snd_soc_dai *cpu_dai, | |||
| 516 | struct omap_mcbsp_reg_cfg *regs = &mcbsp_data->regs; | 516 | struct omap_mcbsp_reg_cfg *regs = &mcbsp_data->regs; |
| 517 | int err = 0; | 517 | int err = 0; |
| 518 | 518 | ||
| 519 | if (mcbsp_data->active) | ||
| 520 | if (freq == mcbsp_data->in_freq) | ||
| 521 | return 0; | ||
| 522 | else | ||
| 523 | return -EBUSY; | ||
| 524 | |||
| 519 | /* The McBSP signal muxing functions are only available on McBSP1 */ | 525 | /* The McBSP signal muxing functions are only available on McBSP1 */ |
| 520 | if (clk_id == OMAP_MCBSP_CLKR_SRC_CLKR || | 526 | if (clk_id == OMAP_MCBSP_CLKR_SRC_CLKR || |
| 521 | clk_id == OMAP_MCBSP_CLKR_SRC_CLKX || | 527 | clk_id == OMAP_MCBSP_CLKR_SRC_CLKX || |
