staging: most: sound: fix return values
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 23 Jun 2020 15:07:33 +0000 (17:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jun 2020 13:41:17 +0000 (15:41 +0200)
commitb1abd84d551b39c10ba86ffe8b27aaa659015e08
treec227b21c8526a8298bb1435f05b10b4f60a863d7
parent36b67efe0cb3b33f6d58e1e86d5b2a02ff5ab387
staging: most: sound: fix return values

This patch returns the proper values when reporting an error
to the caller.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Link: https://lore.kernel.org/r/1592924855-25569-4-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/sound/sound.c