staging: bcm2835-audio: Propagate parameter setup error
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Sep 2018 15:58:43 +0000 (17:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 09:14:59 +0000 (11:14 +0200)
commit947d7489f6d782d9150cb528272a729186be176e
tree0ad43de7b3943acb2e62f6b64649364bc2682fe5
parentfda767b1a013c5ff584abe6869ad68ec25518488
staging: bcm2835-audio: Propagate parameter setup error

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