From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ew0-f46.google.com ([209.85.215.46]:52204 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753827Ab0JNCL4 (ORCPT ); Wed, 13 Oct 2010 22:11:56 -0400 Received: by ewy20 with SMTP id 20so2856472ewy.19 for ; Wed, 13 Oct 2010 19:11:55 -0700 (PDT) Date: Thu, 14 Oct 2010 12:12:44 -0400 From: Dmitri Belimov To: Devin Heitmueller Cc: Mauro Carvalho Chehab , Linux Media Mailing List , Stefan Ringel , Bee Hock Goh Subject: Re: [PATCH] xc5000 and switch RF input Message-ID: <20101014121244.17795e5f@glory.local> In-Reply-To: References: <20100518173011.5d9c7f2c@glory.loctelecom.ru> <20100525114939.067404eb@glory.loctelecom.ru> <4C32044C.3060007@redhat.com> <20101013173010.74ee2827@glory.local> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-ID: Sender: Hi > On Wed, Oct 13, 2010 at 5:30 PM, Dmitri Belimov > wrote: > > Hi > > > > Our TV card Behold X7 has two different RF input. This RF inputs > > can switch between different RF sources. > > > > ANT 1 for analog and digital TV > > ANT 2 for FM radio > > > > The switch controlled by zl10353. > > > > I add some defines for the tuner xc5000 and use tuner callback to > > saa7134 part. All works well. But my patch can touch other TV cards > > with xc5000. > > > > Devin can you check my changes on the other TV cards. > > > > With my best regards, Dmitry. > > Hello Dmitri, > > I've looked at the patch. I really don't think this is the right > approach. The tuner driver should not have any of this logic - it > should be in the bridge driver. You can also look at Michael Krufky's > frontend override patches, which allow the bridge to intervene when > DVB frontend commands are made (for example, to toggle the antenna > before the tune is performed). Ok. > I understand the problem you are trying to solve, but jamming the > logic into the tuner driver really is a bad idea. > > NACK. > > Devin > > -- > Devin J. Heitmueller - Kernel Labs > http://www.kernellabs.com Ok. With my best regards, Dmitry.