aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authornibble.max <[email protected]>2014-10-23 10:36:49 -0300
committerMauro Carvalho Chehab <[email protected]>2014-11-03 11:53:00 -0200
commit4954578efb5fd91dd6432ecf7f04ba1b82a60693 (patch)
tree16124aeae90e57d0a53ccc4e37d8ac4dee350654 /tools/perf/scripts/python/event_analyzing_sample.py
parent070e66611d6f33125204fc7869459d7e141dae31 (diff)
[media] m88ts2022: return the err code in its probe function when error occurs
if "chip_id" is wrong or "dev->cfg.clock_out" is invalid, the i2c model is still loaded. It will cause "kernel NULL pointer dereference" oops when the i2c model remove. returning the err code will prevent the i2c model load. Signed-off-by: Nibble Max <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions