Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:37588 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751059AbZCJMku (ORCPT ); Tue, 10 Mar 2009 08:40:50 -0400 Date: Tue, 10 Mar 2009 09:40:19 -0300 From: Mauro Carvalho Chehab To: Antti Palosaari , Dmitri Belimov via Mercurial Cc: linux-media@vger.kernel.org, Christopher Pascoe Subject: Re: [linuxtv-commits] [hg:v4l-dvb] Fix I2C bridge error in zl10353 Message-ID: <20090310094019.16ab55d7@pedra.chehab.org> In-Reply-To: <49B63C6C.8070709@iki.fi> References: <49A03A94.9030008@iki.fi> <49B63C6C.8070709@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: On Tue, 10 Mar 2009 12:09:48 +0200 Antti Palosaari wrote: > Mauro, > Could you remove this bad patch patch soon? It must not go to the final > 2.6.29 as it breaks so many old devices. One of those is MSI Megasky 580 > which is rather popular. > > regards > Antti > > Antti Palosaari wrote: > > Hello, > > This patch breaks devices using tuner behind zl10353 i2c-gate. > > au6610: > > Sigmatek DVB-110 DVB-T USB2.0 > > > > gl861: > > MSI Mega Sky 55801 DVB-T USB2.0 > > A-LINK DTU DVB-T USB2.0 > > > > Probably some other too. > > > > I think it is better to disable i2c-gate setting callback to NULL after > > demod attach like dtv5100 does this. > > > > Also .no_tuner is bad name what it does currently. My opinion is that > > current .no_tuner = 1 should be set as default, because most > > configuration does not this kind of slave tuner setup where tuner is > > programmed by demod. > > Change no_tuner to slave_tuner and set slave_tuner = 1 only when needed > > (not many drivers using that). Hi Antti/Dmitri, I agree that no_tuner is a bad name. The best is to rename it to something like "tuner_is_behind_bridge". If equal to 1, then it will use the new behaviour, otherwise the old one, and fix the boards where this trouble were found. Could one of you please do such patchset? Thanks, Mauro.