aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2020-08-11 22:59:38 +0200
committerMauro Carvalho Chehab <[email protected]>2020-09-10 14:27:26 +0200
commit2cac7cbfb4099980e78244359ab9c6f056d6a7ec (patch)
treedc6e4446334a22d5f9c48957a314fb01a04c4e73 /tools/perf/scripts/python/syscall-counts.py
parent468e986dac0e94194334ca6d0abf3af8c250792e (diff)
media: rcar-csi2: Allocate v4l2_async_subdev dynamically
v4l2_async_notifier_add_subdev() requires the asd to be allocated dynamically, but the rcar-csi2 driver embeds it in the rcar_csi2 structure. This causes memory corruption when the notifier is destroyed at remove time with v4l2_async_notifier_cleanup(). Fix this issue by registering the asd with v4l2_async_notifier_add_fwnode_subdev(), which allocates it dynamically internally. Fixes: 769afd212b16 ("media: rcar-csi2: add Renesas R-Car MIPI CSI-2 receiver driver") Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions