Re: [PATCH 1/2] media: dvb: convert tuner_info frequencies to Hz

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed,  4 Jul 2018 23:46:56 -0300
Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx> wrote:

> diff --git a/drivers/media/tuners/fc0011.c b/drivers/media/tuners/fc0011.c
> index 145407dee3db..a983899c6b0b 100644
> --- a/drivers/media/tuners/fc0011.c
> +++ b/drivers/media/tuners/fc0011.c
> @@ -472,10 +472,10 @@ static int fc0011_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
>  
>  static const struct dvb_tuner_ops fc0011_tuner_ops = {
>  	.info = {
> -		.name		= "Fitipower FC0011",
> +		.name		  = "Fitipower FC0011",
>  
> -		.frequency_min	= 45000000,
> -		.frequency_max	= 1000000000,
> +		.frequency_min_hz =   45 * MHz,
> +		.frequency_max_hz = 1000 * MHz,
>  	},
>  
>  	.release		= fc0011_release,

Acked-by: Michael Büsch <m@xxxxxxx>

What about a GHz definition for 1000 * MHz?

-- 
Michael

Attachment: pgpNyrgFcNH8V.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux