diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-06-10 05:30:17 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-06-10 05:30:17 -0300 |
commit | d635711daa98be86d4c7fd01499c34f566b54ccb (patch) | |
tree | aa5cc3760a27c3d57146498cb82fa549547de06c /drivers/staging/media/bcm2048/radio-bcm2048.c | |
parent | c91265cd0efb83778f015b4d4b1129bd2cfd075e (diff) |
Linux-libre 4.6.2-gnu
Diffstat (limited to 'drivers/staging/media/bcm2048/radio-bcm2048.c')
-rw-r--r-- | drivers/staging/media/bcm2048/radio-bcm2048.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers/staging/media/bcm2048/radio-bcm2048.c index 8fdf0ac4f..abf330f92 100644 --- a/drivers/staging/media/bcm2048/radio-bcm2048.c +++ b/drivers/staging/media/bcm2048/radio-bcm2048.c @@ -1828,17 +1828,14 @@ static int bcm2048_deinit(struct bcm2048_device *bdev) err = bcm2048_set_audio_route(bdev, 0); if (err < 0) - goto exit; + return err; err = bcm2048_set_dac_output(bdev, 0); if (err < 0) - goto exit; + return err; err = bcm2048_set_power_state(bdev, BCM2048_POWER_OFF); - if (err < 0) - goto exit; -exit: return err; } |