aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2019-08-15 09:36:49 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-12-02 15:55:44 +0100
commit989bea48915861171421bd6e1367bf4c9407513d (patch)
tree7b920aa000b8c970efe5ff2c3c0c3d74cfd233ea /tools/perf/scripts/python/export-to-sqlite.py
parentmedia: omap3isp: Remove misleading comment (diff)
media: v4l: subdev: Set sd->devnode before registering the subdev
The subdev's video device node was only assigned after registering the device node in the system. While it is unlikely that a driver needed to use this field in handling system calls to its file handle, there remains a slim chance the devnode field remains NULL while the driver expects to find a video node there. Assign the devnode field before registering the device, and assign it back to NULL if the registration failed. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions