[PATCH] media input infrastructure:tw686x: Fix of possible inconsistent memory deallocation and/or race condition by implementation of custom video_device_release function in tw686x driver

2019-07-29 Thread Mark Balantzyan
to free the remaining resources and memory where the last open handle(s) is/were closed. Signed-off-by: Mark Balantzyan --- drivers/media/pci/tw686x/tw686x-video.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/media/pci/tw686x/tw686x-video.c b

tw686x driver (again, sorry; I respect it as a good driver!)

2019-07-29 Thread Mark Balantzyan
Hi Hans, I recall us agreeing that a custom function to free the last resources attached to the video device would be preferable. So may I clarify, in your words, what bug I may be fixing? I please need a description to report to patchwork and to my mentor.. Also I’m getting confused reactio

Finally figured out how to include linux-media in prev msg, sorry

2019-07-27 Thread Mark Balantzyan
Hi Ezequiel, After going through trouble and half with trying to get the following correspondence through linux-media (...): Who' calling this ^ ? Oops. Should it be video_device_release (not tw686x_video_device_release) and then should keep the line vdev->release = video_device_release?

[PATCH] media input infrastructure:tw686x: Added custom function for video device release functionality in tw686x driver

2019-07-26 Thread Mark Balantzyan
Signed-off-by: Mark Balantzyan Reported-by: kbuild test robot --- This patch adds a custom function for releasing the video device for the tw686x video device driver. drivers/media/pci/tw686x/tw686x-video.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff

[PATCH] Added custom function for video device release functionality in tw686x driver

2019-07-26 Thread Mark Balantzyan
Signed-off-by: Mark Balantzyan Reported-by: kbuild test robot --- This patch adds a custom function in tw686x-video.c to provide a release mechanism for the driver for the tw686x video device. drivers/media/pci/tw686x/tw686x-video.c | 23 ++- 1 file changed, 18 insertions

[PATCH] media input infrastructure:tw686x: Added Added custom function to set vdev->release in tw686x driver

2019-07-24 Thread Mark Balantzyan
Signed-off-by: Mark Balantzyan --- This patch adds a custom function to release video device in assignment to vdev->release member in tw686x driver. drivers/media/pci/tw686x/tw686x-video.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/drivers/me