[alsa-devel] [alsa-cvslog] alsa-kernel: Official ALSA project GIT repository for Linux 2.6 branch, master now at v2.6.27-rc3-74-g027ee62
Jaroslav Kysela
perex at perex.cz
Fri Aug 15 13:00:39 CEST 2008
On Fri, 15 Aug 2008, Takashi Iwai wrote:
> At Fri, 15 Aug 2008 12:39:19 +0200 (CEST),
> noreply-git at 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 at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
More information about the Alsa-devel
mailing list