diff options
| author | Stefan Wahren <[email protected]> | 2019-06-26 17:48:11 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-07-01 08:55:41 +0200 |
| commit | f816db1dc17b99b059325f41ed5a78f85d15368c (patch) | |
| tree | 226c52631a9e26b4087d9dd81b9074b1a1f066ee /tools/perf/scripts/python | |
| 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 <[email protected]>
Cc: stable <[email protected]>
Acked-by: Dan Carpenter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions