Various fixes for bugs that I found while working on the
regression test-media script.
The CONFIG_DEBUG_KOBJECT_RELEASE=y option in particular found
a bunch of bugs where things were not released in the right
order.
Note that the first two patches are not bug fixes, but they
help debugging kobjects. Without this the object name is just
(null), which makes it hard to figure out what the object is.
Regards,
Hans
Hans Verkuil (7):
cec: fill in cec chardev kobject to ease debugging
media-devnode: fill in media chardev kobject to ease debugging
vivid: use vzalloc for dev->bitmap_out
media-entity: set ent_enum->bmap to NULL after freeing it
vim2m: replace devm_kzalloc by kzalloc
v4l2-device: v4l2_device_release_subdev_node can't reference sd
vimc: free vimc_cap_device when the last user disappears
drivers/media/cec/cec-core.c | 1 +
drivers/media/media-devnode.c | 1 +
drivers/media/media-entity.c | 1 +
drivers/media/platform/vim2m.c | 20 +++++++++++++++-----
drivers/media/platform/vimc/vimc-capture.c | 13 ++++++++++---
drivers/media/platform/vivid/vivid-vid-out.c | 14 +++++++++-----
drivers/media/v4l2-core/v4l2-device.c | 10 ++--------
7 files changed, 39 insertions(+), 21 deletions(-)
--
2.20.1