[PATCH] [media] vcodec: mediatek: Add MODULE_LICENSE to mtk_vcodec_util.c

2017-12-02 Thread Daniel Axtens
This fixes the following warning in an allmodconfig build: WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/mtk-vcodec/mtk-vcodec-common.o This matches the license at the top of the file. Signed-off-by: Daniel Axtens --- drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c

[PATCH] [media] soc_camera: add MODULE_LICENSE to soc_scale_crop.c

2017-12-01 Thread Daniel Axtens
This fixes the following warning on an allmodconfig build: WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/soc_camera/soc_scale_crop.o Use license "GPL" to match the GPLv2+ license from the header at the top of the file. Signed-off-by: Daniel Axtens --- dri

[PATCH] media: tegra-cec: add MODULE_LICENSE()

2017-12-01 Thread Daniel Axtens
This fixes the following warning in an allmodconfig build: WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/tegra-cec/tegra_cec.o The license matches the header. Signed-off-by: Daniel Axtens --- drivers/media/platform/tegra-cec/tegra_cec.c | 2 ++ 1 file changed, 2

Re: [PATCH v2] [media] uvcvideo: Refactor teardown of uvc on USB disconnect

2017-06-19 Thread Daniel Axtens
Hi Laurent, Just checking if this was OK with you - I hadn't heard anything and I noticed it's not in -next so I just wanted to check to see if there were any changes you wanted. Regards, Daniel Daniel Axtens writes: > Currently, disconnecting a USB webcam while it is in use

[PATCH v2] [media] uvcvideo: Refactor teardown of uvc on USB disconnect

2017-04-22 Thread Daniel Axtens
ts, one on disconnect that unregisters and one on delete that frees. - move v4l2_device_unregister() and media_device_unregister() into the disconnect path. [0]: https://lkml.org/lkml/2016/12/8/657 Cc: Laurent Pinchart Cc: Dave Stevenson Cc: Greg KH Signed-off-by: Daniel Axtens ---

Re: [PATCH 1/2] [media] uvcvideo: Refactor teardown of uvc on USB disconnect

2017-04-22 Thread Daniel Axtens
ng that extra sanity checking in the device core. > >> [0]: https://lkml.org/lkml/2016/12/8/657 >> >> Cc: Laurent Pinchart >> Cc: Dave Stevenson >> Cc: Greg KH >> Signed-off-by: Daniel Axtens >> >> --- >> >> Tested with chee

Re: [PATCH 2/2] [media] uvcvideo: Kill video URBs on disconnect

2017-04-22 Thread Daniel Axtens
Hi Laurent, Apologies for takig so long to get back to you. > I assume that the error message is caused by a race between disconnection and > URB handling. When the device is disconnected I believe the USB core will > cancel all in-progress URBs (I'm not very familiar with that part of the USB

Re: uvcvideo logging kernel warnings on device disconnect

2017-04-17 Thread Daniel Axtens
Hi, >> > I hate to pester, but wondered if you had found anything obvious. >> > I really do appreciate you taking the time to look. >> >> Sorry, I haven't had the chance and now will not be able to until >> January > > Did you mean January 2017 or 2018 ? :-) I stumbled across this problem in

[PATCH 1/2] [media] uvcvideo: Refactor teardown of uvc on USB disconnect

2017-04-17 Thread Daniel Axtens
ts, one on disconnect that unregisters and one on delete that frees. - move media_device_unregister() into the disconnect path. [0]: https://lkml.org/lkml/2016/12/8/657 Cc: Laurent Pinchart Cc: Dave Stevenson Cc: Greg KH Signed-off-by: Daniel Axtens --- Tested with cheese and yavta. --

[PATCH 2/2] [media] uvcvideo: Kill video URBs on disconnect

2017-04-17 Thread Daniel Axtens
vc_enable_video() (specifying 0 to disable) in the disconnect path, which kills and frees URBs. Cc: Laurent Pinchart Signed-off-by: Daniel Axtens --- Before this patch, yavta -c hangs when a camera is disconnected, but with this patch it exits immediately after the camera is disconnected. I'm