summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/cx24123.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-08-07 10:44:33 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-08-07 10:44:33 -0300
commitd9d5fc49ab313764d9b32189e259e7ef2d970927 (patch)
tree9de972ef5d18f39b447b144b6cebc07f69153309 /linux/drivers/media/dvb/frontends/cx24123.h
parent41480cd76fdedd7a28a0e90cc602efd596a81eb9 (diff)
downloadmediapointer-dvb-s2-d9d5fc49ab313764d9b32189e259e7ef2d970927.tar.gz
mediapointer-dvb-s2-d9d5fc49ab313764d9b32189e259e7ef2d970927.tar.bz2
LNB voltage control was inverted for the benefit of geniatech cards on Kworld
From: Yeasah Pell <yeasah@schwide.com> 1) It sets LNBDCPol differently based on the card type. Now it should work properly for both the kworld and geniatech cards. 2) It stops returning an error for the SEC_VOLTAGE_OFF voltage command (the cx88-dvb level handles the actual voltage on/off, but it still passes the ioctl down to the cx24123 level, which previously rejected the OFF as invalid so the ioctl would report failure) Signed-off-by: Yeasah Pell <yeasah at schwide.net> Acked-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/cx24123.h')
-rw-r--r--linux/drivers/media/dvb/frontends/cx24123.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/cx24123.h b/linux/drivers/media/dvb/frontends/cx24123.h
index 6a8cb4c41..57a1dae1d 100644
--- a/linux/drivers/media/dvb/frontends/cx24123.h
+++ b/linux/drivers/media/dvb/frontends/cx24123.h
@@ -30,6 +30,9 @@ struct cx24123_config
/* Need to set device param for start_dma */
int (*set_ts_params)(struct dvb_frontend* fe, int is_punctured);
+
+ /* 0 = LNB voltage normal, 1 = LNB voltage inverted */
+ int lnb_polarity;
};
#if defined(CONFIG_DVB_CX24123) || defined(CONFIG_DVB_CX24123_MODULE)