diff options
author | Stefan Wahren <wahrenst@gmx.net> | 2019-06-26 17:48:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-01 08:55:41 +0200 |
commit | f816db1dc17b99b059325f41ed5a78f85d15368c (patch) | |
tree | 226c52631a9e26b4087d9dd81b9074b1a1f066ee /include/sound/wm2000.h | |
parent | 3c96993b1832c085f4e5905a3526c9523dd17357 (diff) |
staging: bcm2835-camera: Restore return behavior of ctrl_set_bitrate()
The commit 52c4dfcead49 ("Staging: vc04_services: Cleanup in
ctrl_set_bitrate()") changed the return behavior of ctrl_set_bitrate().
We cannot do this because of a bug in the firmware, which breaks probing
of bcm2835-camera:
bcm2835-v4l2: mmal_init: failed to set all camera controls: -3
Cleanup: Destroy video encoder
Cleanup: Destroy image encoder
Cleanup: Destroy video render
Cleanup: Destroy camera
bcm2835-v4l2: bcm2835_mmal_probe: mmal init failed: -3
bcm2835-camera: probe of bcm2835-camera failed with error -3
So restore the old behavior, add an explaining comment and a debug message
to verify that the bug has been fixed in firmware.
Fixes: 52c4dfcead49 ("Staging: vc04_services: Cleanup in ctrl_set_bitrate()")
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Cc: stable <stable@vger.kernel.org>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/sound/wm2000.h')
0 files changed, 0 insertions, 0 deletions