diff options
author | Klaus Schmidinger <Klaus.Schmidinger@tvdr.de> | 2010-04-11 05:12:52 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:57:47 -0400 |
commit | b187913c77adbd865194c6b8072764e3474d56ea (patch) | |
tree | 762cc4963dfb732daa0b8c3e8fbd4ad1b555aada /drivers/media/dvb | |
parent | dd3f616d4b60a50328be152f66c93bd451461a39 (diff) |
V4L/DVB: Add FE_CAN_PSK_8 to allow apps to identify PSK_8 capable DVB devices
The enum fe_caps provides flags that allow an application to detect
whether a device is capable of handling various modulation types etc.
A flag for detecting PSK_8, however, is missing.
This patch adds the flag FE_CAN_PSK_8 to frontend.h and implements
it for the gp8psk-fe.c and cx24116.c driver (apparently the only ones
with PSK_8). Only the gp8psk-fe.c has been explicitly tested, though.
Signed-off-by: Klaus Schmidinger <Klaus.Schmidinger@tvdr.de>
Tested-by: Derek Kelly <user.vdr@gmail.com>
Acked-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/dvb-usb/gp8psk-fe.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/cx24116.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/gp8psk-fe.c b/drivers/media/dvb/dvb-usb/gp8psk-fe.c index 7a7f1b2b681c..39143805f3da 100644 --- a/drivers/media/dvb/dvb-usb/gp8psk-fe.c +++ b/drivers/media/dvb/dvb-usb/gp8psk-fe.c | |||
@@ -349,7 +349,7 @@ static struct dvb_frontend_ops gp8psk_fe_ops = { | |||
349 | * FE_CAN_QAM_16 is for compatibility | 349 | * FE_CAN_QAM_16 is for compatibility |
350 | * (Myth incorrectly detects Turbo-QPSK as plain QAM-16) | 350 | * (Myth incorrectly detects Turbo-QPSK as plain QAM-16) |
351 | */ | 351 | */ |
352 | FE_CAN_QPSK | FE_CAN_QAM_16 | 352 | FE_CAN_QPSK | FE_CAN_QAM_16 | FE_CAN_PSK_8 |
353 | }, | 353 | }, |
354 | 354 | ||
355 | .release = gp8psk_fe_release, | 355 | .release = gp8psk_fe_release, |
diff --git a/drivers/media/dvb/frontends/cx24116.c b/drivers/media/dvb/frontends/cx24116.c index 2410d8b59b6b..13ae2c58d79f 100644 --- a/drivers/media/dvb/frontends/cx24116.c +++ b/drivers/media/dvb/frontends/cx24116.c | |||
@@ -1479,7 +1479,7 @@ static struct dvb_frontend_ops cx24116_ops = { | |||
1479 | FE_CAN_FEC_4_5 | FE_CAN_FEC_5_6 | FE_CAN_FEC_6_7 | | 1479 | FE_CAN_FEC_4_5 | FE_CAN_FEC_5_6 | FE_CAN_FEC_6_7 | |
1480 | FE_CAN_FEC_7_8 | FE_CAN_FEC_AUTO | | 1480 | FE_CAN_FEC_7_8 | FE_CAN_FEC_AUTO | |
1481 | FE_CAN_2G_MODULATION | | 1481 | FE_CAN_2G_MODULATION | |
1482 | FE_CAN_QPSK | FE_CAN_RECOVER | 1482 | FE_CAN_QPSK | FE_CAN_RECOVER | FE_CAN_PSK_8 |
1483 | }, | 1483 | }, |
1484 | 1484 | ||
1485 | .release = cx24116_release, | 1485 | .release = cx24116_release, |