aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonathan Bakker <[email protected]>2020-07-31 01:01:06 +0200
committerMauro Carvalho Chehab <[email protected]>2020-09-01 14:13:25 +0200
commita1f51d37324260f16561429d77abdc1502135cfd (patch)
treecaf2eade0889bd0ebadfd7970255aacfd9263857 /tools/perf/scripts/python
parent55400d7745ca88d3770e37b695785e18ebe23703 (diff)
media: exynos4-is: Fix nullptr when no CSIS device present
Not all devices use the CSIS device, some may use the FIMC directly in which case the CSIS device isn't registered. This leads to a nullptr exception when starting the stream as the CSIS device is always referenced. Instead, if getting the CSIS device fails, try getting the FIMC directly to check if we are using the subdev API Signed-off-by: Jonathan Bakker <[email protected]> Reviewed-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions