Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249435
b: refs/heads/master
c: 3ca13bd
h: refs/heads/master
i:
  249433: 55a7c81
  249431: 14e6fc7
v: v3
  • Loading branch information
Wu Fengguang authored and Greg Kroah-Hartman committed May 10, 2011
1 parent 4da014a commit 1561695
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f2b5ea1feb904d483a8cf901562e314988ecc314
refs/heads/master: 3ca13bdb3c79e8a5e79ddeddacdae3bd4611ab5d
7 changes: 7 additions & 0 deletions trunk/drivers/staging/intel_sst/intelmid.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,13 @@ static int snd_intelmad_open(struct snd_pcm_substream *substream,
runtime = substream->runtime;
/* set the runtime hw parameter with local snd_pcm_hardware struct */
runtime->hw = snd_intelmad_stream;
if (intelmaddata->cpu_id == CPU_CHIP_LINCROFT) {
/*
* MRST firmware currently denies stereo recording requests.
*/
if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
runtime->hw.channels_max = 1;
}
if (intelmaddata->cpu_id == CPU_CHIP_PENWELL) {
runtime->hw = snd_intelmad_stream;
runtime->hw.rates = SNDRV_PCM_RATE_48000;
Expand Down

0 comments on commit 1561695

Please sign in to comment.