Re: DiBcom adapter problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Excuse me, dumb question, but where and how can i apply this patch?

Thanks again!

Em 21-06-2012 14:07, Olivier GRENIE escreveu:
Hello,
can you test the following patch.

regards,
Olivier

From: Olivier Grenie <olivier.grenie@xxxxxxxxxx>
Date: Thu, 21 Jun 2012 18:57:14 +0200
Subject: [PATCH] [media] dvb frontend core: tuning in ISDB-T using DVB API v3
  The intend of this patch is to be able to tune ISDB-T using
  the DVB API v3

Signed-off-by: Olivier Grenie <olivier.grenie@xxxxxxxxxx>
---
  drivers/media/dvb/dvb-core/dvb_frontend.c |    7 +++++++
  1 file changed, 7 insertions(+)

diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index aebcdf2..ee1cc10 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -1531,6 +1531,13 @@ static int set_delivery_system(struct dvb_frontend *fe, u32 desired_system)
                                 delsys = desired_system;
                                 break;
                         }
+
+                       /* check if the fe delivery system corresponds
+                          to the delivery system in cache */
+                       if (fe->ops.delsys[ncaps] == c->delivery_system) {
+                               delsys = c->delivery_system;
+                               break;
+                       }
                         ncaps++;
                 }
                 if (delsys == SYS_UNDEFINED) {



--

---
Rodolfo Timóteo da Silva
Linux Counter: 359362
msn: zhushazang@xxxxxxxxx
skype: zhushazang

Ribeirão Preto - SP


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux