diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-07-01 09:34:15 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-07-01 09:34:15 +0300 |
commit | 498386d1c4d98a72db7a2f51473593ad563b45ae (patch) | |
tree | f94e6b211b9a50106e6e047cd992ae3e209ef007 /sound/sparc/dbri.c | |
parent | 5c6d4f97267f02f47acea8a652265348ec12de51 (diff) | |
parent | dfc2e8ae4066a95c7f9c2bb2dfa26651feaa6b83 (diff) | |
download | linux-498386d1c4d98a72db7a2f51473593ad563b45ae.tar.xz |
Merge branch 'for-next' into for-linus
Diffstat (limited to 'sound/sparc/dbri.c')
-rw-r--r-- | sound/sparc/dbri.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c index b055f5839578..6b84f66e4af4 100644 --- a/sound/sparc/dbri.c +++ b/sound/sparc/dbri.c @@ -2226,11 +2226,12 @@ static int snd_dbri_pcm(struct snd_card *card) struct snd_pcm *pcm; int err; - if ((err = snd_pcm_new(card, - /* ID */ "sun_dbri", - /* device */ 0, - /* playback count */ 1, - /* capture count */ 1, &pcm)) < 0) + err = snd_pcm_new(card, + /* ID */ "sun_dbri", + /* device */ 0, + /* playback count */ 1, + /* capture count */ 1, &pcm); + if (err < 0) return err; snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_dbri_ops); |