diff options
| author | Ming Qian <ming.qian@nxp.com> | 2024-09-13 15:21:45 +0900 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-10-12 16:28:25 +0200 |
| commit | 8cbb1a7bd5973b57898b26eb804fe44af440bb63 (patch) | |
| tree | f8e28f753a04f26249c32516680023fa168d1b3c /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | d2b7ecc26bd5406d5ba927be1748aa99c568696c (diff) | |
| download | linux-8cbb1a7bd5973b57898b26eb804fe44af440bb63.tar.gz linux-8cbb1a7bd5973b57898b26eb804fe44af440bb63.zip | |
media: amphion: Set video drvdata before register video device
The video drvdata should be set before the video device is registered,
otherwise video_drvdata() may return NULL in the open() file ops, and led
to oops.
Fixes: 3cd084519c6f ("media: amphion: add vpu v4l2 m2m support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Reviewed-by: TaoJiang <tao.jiang_2@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
