diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2019-04-04 18:41:19 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-07-25 08:01:10 -0400 |
commit | 6a76404b13ba7101216967dc447b77cf69e56adf (patch) | |
tree | 22bff268fb39f9effa9cff2677c4c79ff0bf16c7 /include/pcmcia | |
parent | 6ddb094a9f8c451c42bc7c58cfed22275e8a1e38 (diff) |
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 'include/pcmcia')
0 files changed, 0 insertions, 0 deletions