linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dvb-core: set default properties of ISDB-S
@ 2014-10-26 12:01 tskd08
  2014-10-26 12:13 ` Antti Palosaari
  0 siblings, 1 reply; 3+ messages in thread
From: tskd08 @ 2014-10-26 12:01 UTC (permalink / raw)
  To: linux-media; +Cc: m.chehab, Akihiro Tsukada

From: Akihiro Tsukada <tskd08@gmail.com>

delsys-fixed props should be set in dvb-core instead of in each driver.
---
 drivers/media/dvb-core/dvb_frontend.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c
index c862ad7..1e9b814 100644
--- a/drivers/media/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb-core/dvb_frontend.c
@@ -962,6 +962,10 @@ static int dvb_frontend_clear_cache(struct dvb_frontend *fe)
 	case SYS_ATSC:
 		c->modulation = VSB_8;
 		break;
+	case SYS_ISDBS:
+		c->symbol_rate = 28860000;
+		c->rolloff = ROLLOFF_35;
+		break;
 	default:
 		c->modulation = QAM_AUTO;
 		break;
@@ -2074,6 +2078,7 @@ static int dtv_set_frontend(struct dvb_frontend *fe)
 		break;
 	case SYS_DVBS:
 	case SYS_TURBO:
+	case SYS_ISDBS:
 		rolloff = 135;
 		break;
 	case SYS_DVBS2:
-- 
2.1.2


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

end of thread, other threads:[~2014-10-27 12:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-26 12:01 [PATCH] dvb-core: set default properties of ISDB-S tskd08
2014-10-26 12:13 ` Antti Palosaari
     [not found]   ` <544CF97D.80109@gmail.com>
     [not found]     ` <544D2271.6050800@iki.fi>
2014-10-27 12:15       ` Akihiro TSUKADA

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).