From patchwork Sat Aug 18 12:59:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Reinhard Nissl X-Patchwork-Id: 1340911 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id AA43ADF266 for ; Sat, 18 Aug 2012 13:00:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753485Ab2HRNAD (ORCPT ); Sat, 18 Aug 2012 09:00:03 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:48774 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751977Ab2HRNAB (ORCPT ); Sat, 18 Aug 2012 09:00:01 -0400 Received: (qmail invoked by alias); 18 Aug 2012 12:59:59 -0000 Received: from pD95F51F3.dip.t-dialin.net (EHLO [192.168.101.35]) [217.95.81.243] by mail.gmx.net (mp028) with SMTP; 18 Aug 2012 14:59:59 +0200 X-Authenticated: #527675 X-Provags-ID: V01U2FsdGVkX1/NTYB8OkPN+YDJGkrMkVmU1/qP5wzJXJA56MfU/W zGeoIMoZr9y+bA Message-ID: <502F91CD.4070507@gmx.de> Date: Sat, 18 Aug 2012 14:59:57 +0200 From: Reinhard Nissl User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.8.1.22) Gecko/20090605 SUSE/2.0.0.22-0.1.1 Thunderbird/2.0.0.22 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Mauro Carvalho Chehab CC: Manu Abraham , linux-media@vger.kernel.org Subject: Re: STV0299: reading property DTV_FREQUENCY -- what am I expected to get? References: <502A1221.8020804@gmx.de> <502AB1D2.3070209@gmx.de> <502C1E53.4090103@redhat.com> In-Reply-To: <502C1E53.4090103@redhat.com> X-Y-GMX-Trusted: 0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi, Am 16.08.2012 00:10, schrieb Mauro Carvalho Chehab: > The patch seems to be working. Anyway, for it to be merged, you'll > need to be sending it together with your SOB (Signed-off-by), > and using the -p1 format e. g. something like: > > --- a/drivers/media/dvb/frontends/stb0899_drv.c 2012-08-14 21:59:59.000000000 +0200 > +++ b/drivers/media/dvb/frontends/stb0899_drv.c 2012-08-14 21:29:17.000000000 +0200 > > as otherwise developer's scripts won't get it right. I hope I got it right this time ;-) Bye. stb0899: return internally tuned frequency via get_frontend. Signed-off-by: Reinhard Nißl diff --git a/drivers/media/dvb-frontends/stb0899_drv.c b/drivers/media/dvb-frontends/stb0899_drv.c index 5d7f8a9..79e29de 100644 --- a/drivers/media/dvb-frontends/stb0899_drv.c +++ b/drivers/media/dvb-frontends/stb0899_drv.c @@ -1563,6 +1563,7 @@ static int stb0899_get_frontend(struct dvb_frontend *fe) dprintk(state->verbose, FE_DEBUG, 1, "Get params"); p->symbol_rate = internal->srate; + p->frequency = internal->freq; return 0; }