Merge branch 'topic/pcm-jiffies-check' into for-linus

* topic/pcm-jiffies-check:
  sound: fix check for return value in snd_pcm_hw_refine
This commit is contained in:
Takashi Iwai 2009-06-22 17:03:54 +02:00
commit 12bc738596
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ int snd_pcm_hw_refine(struct snd_pcm_substream *substream,
snd_mask_max(&params->masks[SNDRV_PCM_HW_PARAM_CHANNELS])) {
changed = substream->ops->ioctl(substream,
SNDRV_PCM_IOCTL1_FIFO_SIZE, params);
if (params < 0)
if (changed < 0)
return changed;
}
}