The patch number 11233 was added via Andy Walls <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <[email protected]>

------

From: Andy Walls  <[email protected]>
mxl5005s: Switch in mxl5005s_set_params should operate on correct values


Priority: normal

Signed-off-by: Andy Walls <[email protected]>


---

 linux/drivers/media/common/tuners/mxl5005s.c |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff -r 56cf0f1772f7 -r db611fab4e23 
linux/drivers/media/common/tuners/mxl5005s.c
--- a/linux/drivers/media/common/tuners/mxl5005s.c      Mon Mar 23 19:18:34 
2009 -0300
+++ b/linux/drivers/media/common/tuners/mxl5005s.c      Mon Mar 23 21:32:35 
2009 -0400
@@ -4005,12 +4005,11 @@ static int mxl5005s_set_params(struct dv
        /* Change tuner for new modulation type if reqd */
        if (req_mode != state->current_mode) {
                switch (req_mode) {
-               case VSB_8:
-               case QAM_64:
-               case QAM_256:
-               case QAM_AUTO:
+               case MXL_ATSC:
+               case MXL_QAM:
                        req_bw  = MXL5005S_BANDWIDTH_6MHZ;
                        break;
+               case MXL_DVBT:
                default:
                        /* Assume DVB-T */
                        switch (params->u.ofdm.bandwidth) {


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/db611fab4e23d0538336abc7bd87ee006910f6a7

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to