staging: bcm2835-audio: Propagate parameter setup error
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Sep 2018 15:58:43 +0000 (17:58 +0200)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:30 +0000 (00:08 +0100)
commit18583f7aad797800de863be5d2238d0c2aad952a
treed08a400ad2b8f484280f3b1b5e2a95550baeafdd
parent9b06a390b0cff4e3a4b638c9ed4e6346615425f9
staging: bcm2835-audio: Propagate parameter setup error

commit fee5638fe552ff8222c3a5bdcc4a34255e248d8c upstream.

When the parameter setup fails, the driver should propagate the error
code instead of silently ignoring it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c