diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-03-31 03:49:15 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-03-31 04:46:47 -0400 |
commit | c687c9bbda373bfab8c8df8362a27b1ecb5240c1 (patch) | |
tree | 2de939f739338e11c9fb3e89e115175ec89d5100 /sound | |
parent | a870593bab179ca402ead455f45af6e4404a2a7f (diff) |
ALSA: asihpi: fix some indenting in snd_card_asihpi_pcm_new()
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/asihpi/asihpi.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sound/pci/asihpi/asihpi.c b/sound/pci/asihpi/asihpi.c index e4e42f28177d..901c9490398a 100644 --- a/sound/pci/asihpi/asihpi.c +++ b/sound/pci/asihpi/asihpi.c | |||
@@ -1253,11 +1253,12 @@ static int snd_card_asihpi_pcm_new(struct snd_card_asihpi *asihpi, int device) | |||
1253 | num_outstreams, num_instreams, &pcm); | 1253 | num_outstreams, num_instreams, &pcm); |
1254 | if (err < 0) | 1254 | if (err < 0) |
1255 | return err; | 1255 | return err; |
1256 | |||
1256 | /* pointer to ops struct is stored, dont change ops afterwards! */ | 1257 | /* pointer to ops struct is stored, dont change ops afterwards! */ |
1257 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, | 1258 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, |
1258 | &snd_card_asihpi_playback_mmap_ops); | 1259 | &snd_card_asihpi_playback_mmap_ops); |
1259 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, | 1260 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, |
1260 | &snd_card_asihpi_capture_mmap_ops); | 1261 | &snd_card_asihpi_capture_mmap_ops); |
1261 | 1262 | ||
1262 | pcm->private_data = asihpi; | 1263 | pcm->private_data = asihpi; |
1263 | pcm->info_flags = 0; | 1264 | pcm->info_flags = 0; |