diff options
| author | 2019-04-04 18:41:19 -0400 | |
|---|---|---|
| committer | 2019-07-25 08:01:10 -0400 | |
| commit | 6a76404b13ba7101216967dc447b77cf69e56adf (patch) | |
| tree | 22bff268fb39f9effa9cff2677c4c79ff0bf16c7 /drivers/media/v4l2-core/v4l2-async.c | |
| parent | media: staging/intel-ipu3: Use dev_get_drvdata where possible (diff) | |
| download | linux-dev-6a76404b13ba7101216967dc447b77cf69e56adf.tar.xz linux-dev-6a76404b13ba7101216967dc447b77cf69e56adf.zip | |
media: davinci-vpif: Don't dereference endpoint after putting it, fix refcounting
The davinci-vpif driver dereferences its local endpoints after releasing
the reference to them.
The driver also puts its endpoints explicitly while the
of_graph_get_next_endpoint() does that, too, leading to obtaining a
reference once and releasing it twice.
Both are fixed by this patch.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-async.c')
0 files changed, 0 insertions, 0 deletions
