linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] si2157: add support for SYS_DVBC_ANNEX_B
@ 2014-10-30 10:43 Olli Salonen
  2014-10-30 14:49 ` Antti Palosaari
  0 siblings, 1 reply; 2+ messages in thread
From: Olli Salonen @ 2014-10-30 10:43 UTC (permalink / raw)
  To: linux-media; +Cc: Olli Salonen

Set the property for delivery system also in case of SYS_DVBC_ANNEX_B. This behaviour is observed in the sniffs taken with Hauppauge HVR-955Q Windows driver.

Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
---
 drivers/media/tuners/si2157.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c
index cf97142..b086b87 100644
--- a/drivers/media/tuners/si2157.c
+++ b/drivers/media/tuners/si2157.c
@@ -250,6 +250,9 @@ static int si2157_set_params(struct dvb_frontend *fe)
 	case SYS_ATSC:
 			delivery_system = 0x00;
 			break;
+	case SYS_DVBC_ANNEX_B:
+			delivery_system = 0x10;
+			break;
 	case SYS_DVBT:
 	case SYS_DVBT2: /* it seems DVB-T and DVB-T2 both are 0x20 here */
 			delivery_system = 0x20;
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] si2157: add support for SYS_DVBC_ANNEX_B
  2014-10-30 10:43 [PATCH] si2157: add support for SYS_DVBC_ANNEX_B Olli Salonen
@ 2014-10-30 14:49 ` Antti Palosaari
  0 siblings, 0 replies; 2+ messages in thread
From: Antti Palosaari @ 2014-10-30 14:49 UTC (permalink / raw)
  To: Olli Salonen, linux-media

Acked-by: Antti Palosaari <crope@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>

Antti

On 10/30/2014 12:43 PM, Olli Salonen wrote:
> Set the property for delivery system also in case of SYS_DVBC_ANNEX_B. This behaviour is observed in the sniffs taken with Hauppauge HVR-955Q Windows driver.
>
> Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
> ---
>   drivers/media/tuners/si2157.c | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c
> index cf97142..b086b87 100644
> --- a/drivers/media/tuners/si2157.c
> +++ b/drivers/media/tuners/si2157.c
> @@ -250,6 +250,9 @@ static int si2157_set_params(struct dvb_frontend *fe)
>   	case SYS_ATSC:
>   			delivery_system = 0x00;
>   			break;
> +	case SYS_DVBC_ANNEX_B:
> +			delivery_system = 0x10;
> +			break;
>   	case SYS_DVBT:
>   	case SYS_DVBT2: /* it seems DVB-T and DVB-T2 both are 0x20 here */
>   			delivery_system = 0x20;
>

-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-30 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-30 10:43 [PATCH] si2157: add support for SYS_DVBC_ANNEX_B Olli Salonen
2014-10-30 14:49 ` Antti Palosaari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).