ALSA: asihpi: fix some indenting in snd_card_asihpi_pcm_new()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 31 Mar 2014 07:49:15 +0000 (10:49 +0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 31 Mar 2014 08:46:47 +0000 (10:46 +0200)
This used to be a part of a condition until f3d145aac913 ('ALSA: asihpi:
MMAP for non-busmaster cards') but now it's not and we can remove an
indent level.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/asihpi.c

index e4e42f28177d8d54f73eb5d562146487d30d8e1a..901c9490398a15a254718b7ec3465b786fc41c5f 100644 (file)
@@ -1253,11 +1253,12 @@ static int snd_card_asihpi_pcm_new(struct snd_card_asihpi *asihpi, int device)
                        num_outstreams, num_instreams, &pcm);
        if (err < 0)
                return err;
+
        /* pointer to ops struct is stored, dont change ops afterwards! */
-               snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK,
-                               &snd_card_asihpi_playback_mmap_ops);
-               snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
-                               &snd_card_asihpi_capture_mmap_ops);
+       snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK,
+                       &snd_card_asihpi_playback_mmap_ops);
+       snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
+                       &snd_card_asihpi_capture_mmap_ops);
 
        pcm->private_data = asihpi;
        pcm->info_flags = 0;