Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81479
b: refs/heads/master
c: feb7771
h: refs/heads/master
i:
  81477: 087da04
  81475: 31a9234
  81471: 0e06ee7
v: v3
  • Loading branch information
Timofei Bondarenko authored and Jaroslav Kysela committed Jan 31, 2008
1 parent 7e7f690 commit 37bff5c
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: b98f9334e25c463fbfbb1cc468c66845e1c8e46a
refs/heads/master: feb77712b0e780f04507cdda0529088ff0f3286f
7 changes: 7 additions & 0 deletions trunk/sound/pci/cmipci.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,13 @@ static int snd_cmipci_pcm_prepare(struct cmipci *cm, struct cmipci_pcm *rec,
snd_cmipci_write(cm, CM_REG_CHFORMAT, val);
//snd_printd("cmipci: chformat = %08x\n", val);

if (!rec->is_dac && cm->chip_version) {
if (runtime->rate > 44100)
snd_cmipci_set_bit(cm, CM_REG_EXT_MISC, CM_ADC48K44K);
else
snd_cmipci_clear_bit(cm, CM_REG_EXT_MISC, CM_ADC48K44K);
}

rec->running = 0;
spin_unlock_irq(&cm->reg_lock);

Expand Down

0 comments on commit 37bff5c

Please sign in to comment.