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

2017-04-22 Thread Daniel Axtens
Currently, disconnecting a USB webcam while it is in use prints out a number of warnings, such as: WARNING: CPU: 2 PID: 3118 at /build/linux-ezBi1T/linux-4.8.0/fs/sysfs/group.c:237 sysfs_remove_group+0x8b/0x90 sysfs group a7cd0780 not found for kobject 'event13' This has been noticed be

cron job: media_tree daily build: ERRORS

2017-04-22 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Sun Apr 23 05:00:14 CEST 2017 media-tree git hash:9eb9db3a0f92b75ec710066202e0b2accb45afa9 media_build gi

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

2017-04-22 Thread Daniel Axtens
Hi Laurent, >> To fix this, we need to make sure the devices are always unregistered >> before the end of uvc_disconnect(). To this, move the unregistration >> into the disconnect path: >> >> - split uvc_status_cleanup() into two parts, one on disconnect that >>unregisters and one on delete t

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

[PATCH] [media] cx231xx: Initial support Astrometa T2hybrid

2017-04-22 Thread Oleh Kravchenko
This patch provide only digital support; The device is based on 24C02N EEPROM, Panasonic MN88473 demodulator, Rafael Micro R828D tuner and CX23102-11Z chipset; USB id: 15f4:0135. Status: - DVB-T/T2 works fine; - Composite works fine; - Analog not implemented. Signed-off-by: Oleh Kravchenko ---

Re: Looking for device driver advice

2017-04-22 Thread Niklas Söderlund
Hi Sakari, On 2017-04-18 10:46:36 +0300, Sakari Ailus wrote: > Hi Niklas, > > On Sun, Apr 16, 2017 at 07:42:20PM +0200, Niklas Söderlund wrote: > > Hi, > > > > On 2017-04-16 13:51:21 +0300, Sakari Ailus wrote: > > > Hi Hans and Patrick, > > > > > > On Wed, Apr 12, 2017 at 01:37:33PM +0200, Hans