summaryrefslogtreecommitdiff
path: root/drivers/isdn
diff options
context:
space:
mode:
authorJonathan Bakker <xc-racer2@live.ca>2020-07-31 02:01:06 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-01 15:13:25 +0300
commita1f51d37324260f16561429d77abdc1502135cfd (patch)
treecaf2eade0889bd0ebadfd7970255aacfd9263857 /drivers/isdn
parent55400d7745ca88d3770e37b695785e18ebe23703 (diff)
downloadlinux-a1f51d37324260f16561429d77abdc1502135cfd.tar.xz
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 <xc-racer2@live.ca> Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions