Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81519
b: refs/heads/master
c: df86d11
h: refs/heads/master
i:
  81517: b99c26c
  81515: 4479f10
  81511: 9c03ac0
  81503: ff14774
v: v3
  • Loading branch information
Heikki Lindholm authored and Jaroslav Kysela committed Jan 31, 2008
1 parent ace360e commit 84e7ff4
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 7c7fc2d44b7a660846115e65b67772b6742a14d8
refs/heads/master: df86d1149f4b7b77158755b85b85f94e7bade32f
6 changes: 6 additions & 0 deletions trunk/sound/aoa/soundbus/i2sbus/i2sbus-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ static int i2sbus_pcm_open(struct i2sbus_dev *i2sdev, int in)
hw->period_bytes_max = 16384;
hw->periods_min = 3;
hw->periods_max = MAX_DBDMA_COMMANDS;
err = snd_pcm_hw_constraint_integer(pi->substream->runtime,
SNDRV_PCM_HW_PARAM_PERIODS);
if (err < 0) {
result = err;
goto out_unlock;
}
list_for_each_entry(cii, &sdev->codec_list, list) {
if (cii->codec->open) {
err = cii->codec->open(cii, pi->substream);
Expand Down

0 comments on commit 84e7ff4

Please sign in to comment.