Re: Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-05-10 Thread Mauro Carvalho Chehab
Em Sat, 28 Apr 2018 08:01:21 +0200 Olli Salonen escreveu: > I did test the patch and while it doesn't seem to introduce any > negative side effects it does not provide a remedy for the original > problem that was seen after introducing > 9d659ae14b545c4296e812c70493bfdc999b5c1c (you probably did

Re: Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-04-27 Thread Olli Salonen
I did test the patch and while it doesn't seem to introduce any negative side effects it does not provide a remedy for the original problem that was seen after introducing 9d659ae14b545c4296e812c70493bfdc999b5c1c (you probably did not expect that either). Cheers, -olli On 27 April 2018 at 18:33,

Re: Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-04-27 Thread Mauro Carvalho Chehab
Em Fri, 27 Apr 2018 16:25:08 +0200 Olli Salonen escreveu: > Thanks for the suggestion Antti. > > I've tried to add a delay in various places, but haven't seen any > improvement. However, what I did saw was that if I added an msleep > after the lock: > > static int dvbsky_usb_generic_rw(struct d

Re: Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-04-27 Thread Olli Salonen
Thanks for the suggestion Antti. I've tried to add a delay in various places, but haven't seen any improvement. However, what I did saw was that if I added an msleep after the lock: static int dvbsky_usb_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)

Re: Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-04-18 Thread Antti Palosaari
On 04/18/2018 07:49 AM, Olli Salonen wrote: Thank you for your response Peter! Indeed, it seems strange. dvbsky.c driver seems to use mutex_lock in very much the same way as many other drivers. I've now confirmed that I can get a 4.10 kernel with working DVBSky S960 by reverting the following 4

Re: Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-04-17 Thread Olli Salonen
Thank you for your response Peter! Indeed, it seems strange. dvbsky.c driver seems to use mutex_lock in very much the same way as many other drivers. I've now confirmed that I can get a 4.10 kernel with working DVBSky S960 by reverting the following 4 patches: 549bdd3 Revert "locking/mutex: Add l

Re: Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-04-09 Thread Peter Zijlstra
On Wed, Apr 04, 2018 at 02:41:51PM +0300, Olli Salonen wrote: > Hello Peter and Max, > > I noticed that when using kernel 4.10 or newer my DVBSky S960 and > S960CI satellite USB TV tuners stopped working properly. Basically, > they will fail at one point when tuning to a channel. This typically >

Re: Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-04-08 Thread Olli Salonen
I created a report of the issue in Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=199323 I'd be grateful for any tips on how to debug this further. Cheers, -olli On 4 April 2018 at 14:41, Olli Salonen wrote: > Hello Peter and Max, > > I noticed that when using kernel 4.10 or newer my DVB

Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-04-04 Thread Olli Salonen
Hello Peter and Max, I noticed that when using kernel 4.10 or newer my DVBSky S960 and S960CI satellite USB TV tuners stopped working properly. Basically, they will fail at one point when tuning to a channel. This typically takes less than 100 tuning attempts. For perspective, when performing a fu