15 Aug
2008
15 Aug
'08
1 p.m.
On Fri, 15 Aug 2008, Takashi Iwai wrote:
At Fri, 15 Aug 2008 12:39:19 +0200 (CEST), noreply-git@alsa-project.org wrote:
@@ -362,10 +363,8 @@ static int snd_card_dummy_playback_open(struct snd_pcm_substream *substream) } if (substream->pcm->device & 2) runtime->hw.info &= ~(SNDRV_PCM_INFO_MMAP|SNDRV_PCM_INFO_MMAP_VALID);
- if ((err = add_playback_constraints(runtime)) < 0) {
kfree(dpcm);
- if ((err = add_playback_constraints(runtime)) < 0) return err;
- }
Run checkpatch.pl please...
The patch conformed to coding style in dummy.c. I commited new patch on top of this patch to remove (almost all) assignments in if conditions..
Jaroslav
----- Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.