diff mbox

STV0299: reading property DTV_FREQUENCY -- what am I expected to get?

Message ID 502F91CD.4070507@gmx.de (mailing list archive)
State New, archived
Headers show

Commit Message

Reinhard Nissl Aug. 18, 2012, 12:59 p.m. UTC
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.
diff mbox

Patch

stb0899: return internally tuned frequency via get_frontend.

Signed-off-by: Reinhard Nißl <rnissl@gmx.de>

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;
 }