aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2021-11-08 09:40:25 +0000
committerMauro Carvalho Chehab <[email protected]>2021-11-15 08:11:58 +0000
commite5e59f81840be21c6c996c783effb8744958414e (patch)
tree799cdd86226ec91ad0ef7c560009ca8f0affe36a /tools/perf/scripts/python/libxed.py
parentcb4d67a998e97365afdf34965b069601da1dae60 (diff)
media: atomisp: only initialize mode if pipe is not null
During atomisp register, udev tries to open all devices. For some, pipe is NULL, at least during register time, causing the driver to try to access a NULL pointer. So, add an extra check to avoid such condition. Link: https://lore.kernel.org/linux-media/6406265f2d5f3791d5c7cbd1364186217f19524c.1636364423.git.mchehab+huawei@kernel.org Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions