aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStefan Wahren <[email protected]>2018-12-06 19:28:51 +0100
committerGreg Kroah-Hartman <[email protected]>2018-12-12 11:56:46 +0100
commit7566f39dfdc11f8a97d5810c6e6295a88f97ef91 (patch)
tree9912af9ae05ff0ebdbfcaa5f12f8a485bed0a61f /tools/perf/scripts/python
parent99c22707ef647f692b6beb274fed2b6893955a3a (diff)
staging: bcm2835-camera: Abort probe if there is no camera
Abort the probing of the camera driver in case there isn't a camera actually connected to the Raspberry Pi. This solution also avoids a NULL ptr dereference of mmal instance on driver unload. Fixes: 7b3ad5abf027 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.") Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Nicolas Saenz Julienne <[email protected]> Reviewed-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