* [PATCH] cxd2820r: Fix an incorrect modulation type bitmask.
@ 2012-05-30 9:28 Janne Huttunen
2012-05-30 9:39 ` Antti Palosaari
0 siblings, 1 reply; 2+ messages in thread
From: Janne Huttunen @ 2012-05-30 9:28 UTC (permalink / raw)
To: linux-media; +Cc: crope
Fix an incorrect modulation type bitmask. This allows QAM256 also to be
correctly reported.
Signed-off-by: Janne Huttunen <jahuttun@gmail.com>
---
drivers/media/dvb/frontends/cxd2820r_c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/dvb/frontends/cxd2820r_c.c b/drivers/media/dvb/frontends/cxd2820r_c.c
index 9454049..ed3b0ba6 100644
--- a/drivers/media/dvb/frontends/cxd2820r_c.c
+++ b/drivers/media/dvb/frontends/cxd2820r_c.c
@@ -121,7 +121,7 @@ int cxd2820r_get_frontend_c(struct dvb_frontend *fe)
if (ret)
goto error;
- switch ((buf[0] >> 0) & 0x03) {
+ switch ((buf[0] >> 0) & 0x07) {
case 0:
c->modulation = QAM_16;
break;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] cxd2820r: Fix an incorrect modulation type bitmask.
2012-05-30 9:28 [PATCH] cxd2820r: Fix an incorrect modulation type bitmask Janne Huttunen
@ 2012-05-30 9:39 ` Antti Palosaari
0 siblings, 0 replies; 2+ messages in thread
From: Antti Palosaari @ 2012-05-30 9:39 UTC (permalink / raw)
To: Janne Huttunen; +Cc: linux-media
On 30.05.2012 12:28, Janne Huttunen wrote:
>
> Fix an incorrect modulation type bitmask. This allows QAM256 also to be
> correctly reported.
>
> Signed-off-by: Janne Huttunen<jahuttun@gmail.com>
Acked-by: Antti Palosaari <crope@iki.fi>
Thank you!
t. Antti
--
http://palosaari.fi/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-30 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30 9:28 [PATCH] cxd2820r: Fix an incorrect modulation type bitmask Janne Huttunen
2012-05-30 9:39 ` 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).