[PATCH 0/3] [media] exynos-gsc: Another round of cleanup and fixes

From: Javier Martinez Canillas
Date: Fri Oct 07 2016 - 16:40:14 EST


This series contains another set of cleanup and fixes for the exynos-gsc
driver. The patches are on top of the previous posted set [0], although
there's no dependency and the patch-sets can be applied in any order.

Patch 1/3 is a cleanup for the gsc_register_m2m_device() error path

Patch 2/3 fixes a NULL pointer deference that happens when the driver
module is removed due the video device node not being unregistered.

Patch 3/3 fixes a warning due the driver not doing proper cleanup of
the m2m source and destination queues.

[0]: https://lkml.org/lkml/2016/9/30/413

Best regards,

Javier Martinez Canillas (3):
[media] exynos-gsc: don't release a non-dynamically allocated
[media] exynos-gsc: unregister video device node on driver removal
[media] exynos-gsc: cleanup m2m src and dst vb2 queues on STREAMOFF

drivers/media/platform/exynos-gsc/gsc-m2m.c | 30 ++++++++++++++++++++++-------
1 file changed, 23 insertions(+), 7 deletions(-)