Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c687c9bb authored by Dan Carpenter's avatar Dan Carpenter Committed by Takashi Iwai
Browse files

ALSA: asihpi: fix some indenting in snd_card_asihpi_pcm_new()



This used to be a part of a condition until f3d145aa ('ALSA: asihpi:
MMAP for non-busmaster cards') but now it's not and we can remove an
indent level.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a870593b
Loading
Loading
Loading
Loading
+5 −4
Original line number Original line Diff line number Diff line
@@ -1253,6 +1253,7 @@ static int snd_card_asihpi_pcm_new(struct snd_card_asihpi *asihpi, int device)
			num_outstreams,	num_instreams, &pcm);
			num_outstreams,	num_instreams, &pcm);
	if (err < 0)
	if (err < 0)
		return err;
		return err;

	/* pointer to ops struct is stored, dont change ops afterwards! */
	/* pointer to ops struct is stored, dont change ops afterwards! */
	snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK,
	snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK,
			&snd_card_asihpi_playback_mmap_ops);
			&snd_card_asihpi_playback_mmap_ops);