aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/mxl111sf.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-06-17 19:56:40 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-19 10:08:44 -0400
commitc778edb5bdb7a96712848493273762427a51e200 (patch)
tree902a6cc1568a87960b06ad3587a0c406042e6219 /drivers/media/usb/dvb-usb-v2/mxl111sf.c
parentbbf94616261e080507e43b07eea0d633462b00dc (diff)
[media] mxl111sf: don't redefine pr_err/info/debug
Remove the silly redefines of pr_err/info/debug. This improves readability and it also gets rid of a bunch of warnings when compiling this driver for older kernels using the compatibility media_build system. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/mxl111sf.c')
-rw-r--r--drivers/media/usb/dvb-usb-v2/mxl111sf.c90
1 files changed, 42 insertions, 48 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/mxl111sf.c b/drivers/media/usb/dvb-usb-v2/mxl111sf.c
index efdcb15358f1..e97964ef7f56 100644
--- a/drivers/media/usb/dvb-usb-v2/mxl111sf.c
+++ b/drivers/media/usb/dvb-usb-v2/mxl111sf.c
@@ -52,12 +52,6 @@ MODULE_PARM_DESC(rfswitch, "force rf switch position (0=auto, 1=ext, 2=int).");
52 52
53DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); 53DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
54 54
55#define deb_info pr_debug
56#define deb_reg pr_debug
57#define deb_adv pr_debug
58#define err pr_err
59#define info pr_info
60
61int mxl111sf_ctrl_msg(struct dvb_usb_device *d, 55int mxl111sf_ctrl_msg(struct dvb_usb_device *d,
62 u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen) 56 u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen)
63{ 57{
@@ -65,7 +59,7 @@ int mxl111sf_ctrl_msg(struct dvb_usb_device *d,
65 int ret; 59 int ret;
66 u8 sndbuf[1+wlen]; 60 u8 sndbuf[1+wlen];
67 61
68 deb_adv("%s(wlen = %d, rlen = %d)\n", __func__, wlen, rlen); 62 pr_debug("%s(wlen = %d, rlen = %d)\n", __func__, wlen, rlen);
69 63
70 memset(sndbuf, 0, 1+wlen); 64 memset(sndbuf, 0, 1+wlen);
71 65
@@ -98,12 +92,12 @@ int mxl111sf_read_reg(struct mxl111sf_state *state, u8 addr, u8 *data)
98 if (buf[0] == addr) 92 if (buf[0] == addr)
99 *data = buf[1]; 93 *data = buf[1];
100 else { 94 else {
101 err("invalid response reading reg: 0x%02x != 0x%02x, 0x%02x", 95 pr_err("invalid response reading reg: 0x%02x != 0x%02x, 0x%02x",
102 addr, buf[0], buf[1]); 96 addr, buf[0], buf[1]);
103 ret = -EINVAL; 97 ret = -EINVAL;
104 } 98 }
105 99
106 deb_reg("R: (0x%02x, 0x%02x)\n", addr, *data); 100 pr_debug("R: (0x%02x, 0x%02x)\n", addr, *data);
107fail: 101fail:
108 return ret; 102 return ret;
109} 103}
@@ -113,11 +107,11 @@ int mxl111sf_write_reg(struct mxl111sf_state *state, u8 addr, u8 data)
113 u8 buf[] = { addr, data }; 107 u8 buf[] = { addr, data };
114 int ret; 108 int ret;
115 109
116 deb_reg("W: (0x%02x, 0x%02x)\n", addr, data); 110 pr_debug("W: (0x%02x, 0x%02x)\n", addr, data);
117 111
118 ret = mxl111sf_ctrl_msg(state->d, MXL_CMD_REG_WRITE, buf, 2, NULL, 0); 112 ret = mxl111sf_ctrl_msg(state->d, MXL_CMD_REG_WRITE, buf, 2, NULL, 0);
119 if (mxl_fail(ret)) 113 if (mxl_fail(ret))
120 err("error writing reg: 0x%02x, val: 0x%02x", addr, data); 114 pr_err("error writing reg: 0x%02x, val: 0x%02x", addr, data);
121 return ret; 115 return ret;
122} 116}
123 117
@@ -134,7 +128,7 @@ int mxl111sf_write_reg_mask(struct mxl111sf_state *state,
134#if 1 128#if 1
135 /* dont know why this usually errors out on the first try */ 129 /* dont know why this usually errors out on the first try */
136 if (mxl_fail(ret)) 130 if (mxl_fail(ret))
137 err("error writing addr: 0x%02x, mask: 0x%02x, " 131 pr_err("error writing addr: 0x%02x, mask: 0x%02x, "
138 "data: 0x%02x, retrying...", addr, mask, data); 132 "data: 0x%02x, retrying...", addr, mask, data);
139 133
140 ret = mxl111sf_read_reg(state, addr, &val); 134 ret = mxl111sf_read_reg(state, addr, &val);
@@ -167,7 +161,7 @@ int mxl111sf_ctrl_program_regs(struct mxl111sf_state *state,
167 ctrl_reg_info[i].mask, 161 ctrl_reg_info[i].mask,
168 ctrl_reg_info[i].data); 162 ctrl_reg_info[i].data);
169 if (mxl_fail(ret)) { 163 if (mxl_fail(ret)) {
170 err("failed on reg #%d (0x%02x)", i, 164 pr_err("failed on reg #%d (0x%02x)", i,
171 ctrl_reg_info[i].addr); 165 ctrl_reg_info[i].addr);
172 break; 166 break;
173 } 167 }
@@ -225,7 +219,7 @@ static int mxl1x1sf_get_chip_info(struct mxl111sf_state *state)
225 mxl_rev = "UNKNOWN REVISION"; 219 mxl_rev = "UNKNOWN REVISION";
226 break; 220 break;
227 } 221 }
228 info("%s detected, %s (0x%x)", mxl_chip, mxl_rev, ver); 222 pr_info("%s detected, %s (0x%x)", mxl_chip, mxl_rev, ver);
229fail: 223fail:
230 return ret; 224 return ret;
231} 225}
@@ -239,7 +233,7 @@ fail:
239 " on first probe attempt"); \ 233 " on first probe attempt"); \
240 ___ret = mxl1x1sf_get_chip_info(state); \ 234 ___ret = mxl1x1sf_get_chip_info(state); \
241 if (mxl_fail(___ret)) \ 235 if (mxl_fail(___ret)) \
242 err("failed to get chip info during probe"); \ 236 pr_err("failed to get chip info during probe"); \
243 else \ 237 else \
244 mxl_debug("probe needed a retry " \ 238 mxl_debug("probe needed a retry " \
245 "in order to succeed."); \ 239 "in order to succeed."); \
@@ -270,14 +264,14 @@ static int mxl111sf_adap_fe_init(struct dvb_frontend *fe)
270 goto fail; 264 goto fail;
271 } 265 }
272 266
273 deb_info("%s()\n", __func__); 267 pr_debug("%s()\n", __func__);
274 268
275 mutex_lock(&state->fe_lock); 269 mutex_lock(&state->fe_lock);
276 270
277 state->alt_mode = adap_state->alt_mode; 271 state->alt_mode = adap_state->alt_mode;
278 272
279 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0) 273 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0)
280 err("set interface failed"); 274 pr_err("set interface failed");
281 275
282 err = mxl1x1sf_soft_reset(state); 276 err = mxl1x1sf_soft_reset(state);
283 mxl_fail(err); 277 mxl_fail(err);
@@ -326,7 +320,7 @@ static int mxl111sf_adap_fe_sleep(struct dvb_frontend *fe)
326 goto fail; 320 goto fail;
327 } 321 }
328 322
329 deb_info("%s()\n", __func__); 323 pr_debug("%s()\n", __func__);
330 324
331 err = (adap_state->fe_sleep) ? adap_state->fe_sleep(fe) : 0; 325 err = (adap_state->fe_sleep) ? adap_state->fe_sleep(fe) : 0;
332 326
@@ -344,7 +338,7 @@ static int mxl111sf_ep6_streaming_ctrl(struct dvb_frontend *fe, int onoff)
344 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe->id]; 338 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe->id];
345 int ret = 0; 339 int ret = 0;
346 340
347 deb_info("%s(%d)\n", __func__, onoff); 341 pr_debug("%s(%d)\n", __func__, onoff);
348 342
349 if (onoff) { 343 if (onoff) {
350 ret = mxl111sf_enable_usb_output(state); 344 ret = mxl111sf_enable_usb_output(state);
@@ -368,7 +362,7 @@ static int mxl111sf_ep5_streaming_ctrl(struct dvb_frontend *fe, int onoff)
368 struct mxl111sf_state *state = fe_to_priv(fe); 362 struct mxl111sf_state *state = fe_to_priv(fe);
369 int ret = 0; 363 int ret = 0;
370 364
371 deb_info("%s(%d)\n", __func__, onoff); 365 pr_debug("%s(%d)\n", __func__, onoff);
372 366
373 if (onoff) { 367 if (onoff) {
374 ret = mxl111sf_enable_usb_output(state); 368 ret = mxl111sf_enable_usb_output(state);
@@ -394,7 +388,7 @@ static int mxl111sf_ep4_streaming_ctrl(struct dvb_frontend *fe, int onoff)
394 struct mxl111sf_state *state = fe_to_priv(fe); 388 struct mxl111sf_state *state = fe_to_priv(fe);
395 int ret = 0; 389 int ret = 0;
396 390
397 deb_info("%s(%d)\n", __func__, onoff); 391 pr_debug("%s(%d)\n", __func__, onoff);
398 392
399 if (onoff) { 393 if (onoff) {
400 ret = mxl111sf_enable_usb_output(state); 394 ret = mxl111sf_enable_usb_output(state);
@@ -424,7 +418,7 @@ static int mxl111sf_lgdt3305_frontend_attach(struct dvb_usb_adapter *adap, u8 fe
424 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; 418 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id];
425 int ret; 419 int ret;
426 420
427 deb_adv("%s()\n", __func__); 421 pr_debug("%s()\n", __func__);
428 422
429 /* save a pointer to the dvb_usb_device in device state */ 423 /* save a pointer to the dvb_usb_device in device state */
430 state->d = d; 424 state->d = d;
@@ -432,7 +426,7 @@ static int mxl111sf_lgdt3305_frontend_attach(struct dvb_usb_adapter *adap, u8 fe
432 state->alt_mode = adap_state->alt_mode; 426 state->alt_mode = adap_state->alt_mode;
433 427
434 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0) 428 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0)
435 err("set interface failed"); 429 pr_err("set interface failed");
436 430
437 state->gpio_mode = MXL111SF_GPIO_MOD_ATSC; 431 state->gpio_mode = MXL111SF_GPIO_MOD_ATSC;
438 adap_state->gpio_mode = state->gpio_mode; 432 adap_state->gpio_mode = state->gpio_mode;
@@ -495,7 +489,7 @@ static int mxl111sf_lg2160_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_i
495 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; 489 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id];
496 int ret; 490 int ret;
497 491
498 deb_adv("%s()\n", __func__); 492 pr_debug("%s()\n", __func__);
499 493
500 /* save a pointer to the dvb_usb_device in device state */ 494 /* save a pointer to the dvb_usb_device in device state */
501 state->d = d; 495 state->d = d;
@@ -503,7 +497,7 @@ static int mxl111sf_lg2160_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_i
503 state->alt_mode = adap_state->alt_mode; 497 state->alt_mode = adap_state->alt_mode;
504 498
505 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0) 499 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0)
506 err("set interface failed"); 500 pr_err("set interface failed");
507 501
508 state->gpio_mode = MXL111SF_GPIO_MOD_MH; 502 state->gpio_mode = MXL111SF_GPIO_MOD_MH;
509 adap_state->gpio_mode = state->gpio_mode; 503 adap_state->gpio_mode = state->gpio_mode;
@@ -580,7 +574,7 @@ static int mxl111sf_lg2161_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_i
580 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; 574 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id];
581 int ret; 575 int ret;
582 576
583 deb_adv("%s()\n", __func__); 577 pr_debug("%s()\n", __func__);
584 578
585 /* save a pointer to the dvb_usb_device in device state */ 579 /* save a pointer to the dvb_usb_device in device state */
586 state->d = d; 580 state->d = d;
@@ -588,7 +582,7 @@ static int mxl111sf_lg2161_frontend_attach(struct dvb_usb_adapter *adap, u8 fe_i
588 state->alt_mode = adap_state->alt_mode; 582 state->alt_mode = adap_state->alt_mode;
589 583
590 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0) 584 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0)
591 err("set interface failed"); 585 pr_err("set interface failed");
592 586
593 state->gpio_mode = MXL111SF_GPIO_MOD_MH; 587 state->gpio_mode = MXL111SF_GPIO_MOD_MH;
594 adap_state->gpio_mode = state->gpio_mode; 588 adap_state->gpio_mode = state->gpio_mode;
@@ -667,7 +661,7 @@ static int mxl111sf_lg2161_ep6_frontend_attach(struct dvb_usb_adapter *adap, u8
667 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; 661 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id];
668 int ret; 662 int ret;
669 663
670 deb_adv("%s()\n", __func__); 664 pr_debug("%s()\n", __func__);
671 665
672 /* save a pointer to the dvb_usb_device in device state */ 666 /* save a pointer to the dvb_usb_device in device state */
673 state->d = d; 667 state->d = d;
@@ -675,7 +669,7 @@ static int mxl111sf_lg2161_ep6_frontend_attach(struct dvb_usb_adapter *adap, u8
675 state->alt_mode = adap_state->alt_mode; 669 state->alt_mode = adap_state->alt_mode;
676 670
677 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0) 671 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0)
678 err("set interface failed"); 672 pr_err("set interface failed");
679 673
680 state->gpio_mode = MXL111SF_GPIO_MOD_MH; 674 state->gpio_mode = MXL111SF_GPIO_MOD_MH;
681 adap_state->gpio_mode = state->gpio_mode; 675 adap_state->gpio_mode = state->gpio_mode;
@@ -742,7 +736,7 @@ static int mxl111sf_attach_demod(struct dvb_usb_adapter *adap, u8 fe_id)
742 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id]; 736 struct mxl111sf_adap_state *adap_state = &state->adap_state[fe_id];
743 int ret; 737 int ret;
744 738
745 deb_adv("%s()\n", __func__); 739 pr_debug("%s()\n", __func__);
746 740
747 /* save a pointer to the dvb_usb_device in device state */ 741 /* save a pointer to the dvb_usb_device in device state */
748 state->d = d; 742 state->d = d;
@@ -750,7 +744,7 @@ static int mxl111sf_attach_demod(struct dvb_usb_adapter *adap, u8 fe_id)
750 state->alt_mode = adap_state->alt_mode; 744 state->alt_mode = adap_state->alt_mode;
751 745
752 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0) 746 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0)
753 err("set interface failed"); 747 pr_err("set interface failed");
754 748
755 state->gpio_mode = MXL111SF_GPIO_MOD_DVBT; 749 state->gpio_mode = MXL111SF_GPIO_MOD_DVBT;
756 adap_state->gpio_mode = state->gpio_mode; 750 adap_state->gpio_mode = state->gpio_mode;
@@ -802,7 +796,7 @@ static inline int mxl111sf_set_ant_path(struct mxl111sf_state *state,
802} 796}
803 797
804#define DbgAntHunt(x, pwr0, pwr1, pwr2, pwr3) \ 798#define DbgAntHunt(x, pwr0, pwr1, pwr2, pwr3) \
805 err("%s(%d) FINAL input set to %s rxPwr:%d|%d|%d|%d\n", \ 799 pr_err("%s(%d) FINAL input set to %s rxPwr:%d|%d|%d|%d\n", \
806 __func__, __LINE__, \ 800 __func__, __LINE__, \
807 (ANT_PATH_EXTERNAL == x) ? "EXTERNAL" : "INTERNAL", \ 801 (ANT_PATH_EXTERNAL == x) ? "EXTERNAL" : "INTERNAL", \
808 pwr0, pwr1, pwr2, pwr3) 802 pwr0, pwr1, pwr2, pwr3)
@@ -868,7 +862,7 @@ static int mxl111sf_attach_tuner(struct dvb_usb_adapter *adap)
868 struct mxl111sf_state *state = adap_to_priv(adap); 862 struct mxl111sf_state *state = adap_to_priv(adap);
869 int i; 863 int i;
870 864
871 deb_adv("%s()\n", __func__); 865 pr_debug("%s()\n", __func__);
872 866
873 for (i = 0; i < state->num_frontends; i++) { 867 for (i = 0; i < state->num_frontends; i++) {
874 if (dvb_attach(mxl111sf_tuner_attach, adap->fe[i], state, 868 if (dvb_attach(mxl111sf_tuner_attach, adap->fe[i], state,
@@ -902,7 +896,7 @@ static int mxl111sf_init(struct dvb_usb_device *d)
902 896
903 ret = get_chip_info(state); 897 ret = get_chip_info(state);
904 if (mxl_fail(ret)) 898 if (mxl_fail(ret))
905 err("failed to get chip info during probe"); 899 pr_err("failed to get chip info during probe");
906 900
907 mutex_init(&state->fe_lock); 901 mutex_init(&state->fe_lock);
908 902
@@ -950,7 +944,7 @@ static int mxl111sf_frontend_attach_mh(struct dvb_usb_adapter *adap)
950static int mxl111sf_frontend_attach_atsc_mh(struct dvb_usb_adapter *adap) 944static int mxl111sf_frontend_attach_atsc_mh(struct dvb_usb_adapter *adap)
951{ 945{
952 int ret; 946 int ret;
953 deb_info("%s\n", __func__); 947 pr_debug("%s\n", __func__);
954 948
955 ret = mxl111sf_lgdt3305_frontend_attach(adap, 0); 949 ret = mxl111sf_lgdt3305_frontend_attach(adap, 0);
956 if (ret < 0) 950 if (ret < 0)
@@ -970,7 +964,7 @@ static int mxl111sf_frontend_attach_atsc_mh(struct dvb_usb_adapter *adap)
970static int mxl111sf_frontend_attach_mercury(struct dvb_usb_adapter *adap) 964static int mxl111sf_frontend_attach_mercury(struct dvb_usb_adapter *adap)
971{ 965{
972 int ret; 966 int ret;
973 deb_info("%s\n", __func__); 967 pr_debug("%s\n", __func__);
974 968
975 ret = mxl111sf_lgdt3305_frontend_attach(adap, 0); 969 ret = mxl111sf_lgdt3305_frontend_attach(adap, 0);
976 if (ret < 0) 970 if (ret < 0)
@@ -990,7 +984,7 @@ static int mxl111sf_frontend_attach_mercury(struct dvb_usb_adapter *adap)
990static int mxl111sf_frontend_attach_mercury_mh(struct dvb_usb_adapter *adap) 984static int mxl111sf_frontend_attach_mercury_mh(struct dvb_usb_adapter *adap)
991{ 985{
992 int ret; 986 int ret;
993 deb_info("%s\n", __func__); 987 pr_debug("%s\n", __func__);
994 988
995 ret = mxl111sf_attach_demod(adap, 0); 989 ret = mxl111sf_attach_demod(adap, 0);
996 if (ret < 0) 990 if (ret < 0)
@@ -1006,7 +1000,7 @@ static int mxl111sf_frontend_attach_mercury_mh(struct dvb_usb_adapter *adap)
1006 1000
1007static void mxl111sf_stream_config_bulk(struct usb_data_stream_properties *stream, u8 endpoint) 1001static void mxl111sf_stream_config_bulk(struct usb_data_stream_properties *stream, u8 endpoint)
1008{ 1002{
1009 deb_info("%s: endpoint=%d size=8192\n", __func__, endpoint); 1003 pr_debug("%s: endpoint=%d size=8192\n", __func__, endpoint);
1010 stream->type = USB_BULK; 1004 stream->type = USB_BULK;
1011 stream->count = 5; 1005 stream->count = 5;
1012 stream->endpoint = endpoint; 1006 stream->endpoint = endpoint;
@@ -1016,7 +1010,7 @@ static void mxl111sf_stream_config_bulk(struct usb_data_stream_properties *strea
1016static void mxl111sf_stream_config_isoc(struct usb_data_stream_properties *stream, 1010static void mxl111sf_stream_config_isoc(struct usb_data_stream_properties *stream,
1017 u8 endpoint, int framesperurb, int framesize) 1011 u8 endpoint, int framesperurb, int framesize)
1018{ 1012{
1019 deb_info("%s: endpoint=%d size=%d\n", __func__, endpoint, 1013 pr_debug("%s: endpoint=%d size=%d\n", __func__, endpoint,
1020 framesperurb * framesize); 1014 framesperurb * framesize);
1021 stream->type = USB_ISOC; 1015 stream->type = USB_ISOC;
1022 stream->count = 5; 1016 stream->count = 5;
@@ -1035,7 +1029,7 @@ static void mxl111sf_stream_config_isoc(struct usb_data_stream_properties *strea
1035static int mxl111sf_get_stream_config_dvbt(struct dvb_frontend *fe, 1029static int mxl111sf_get_stream_config_dvbt(struct dvb_frontend *fe,
1036 u8 *ts_type, struct usb_data_stream_properties *stream) 1030 u8 *ts_type, struct usb_data_stream_properties *stream)
1037{ 1031{
1038 deb_info("%s: fe=%d\n", __func__, fe->id); 1032 pr_debug("%s: fe=%d\n", __func__, fe->id);
1039 1033
1040 *ts_type = DVB_USB_FE_TS_TYPE_188; 1034 *ts_type = DVB_USB_FE_TS_TYPE_188;
1041 if (dvb_usb_mxl111sf_isoc) 1035 if (dvb_usb_mxl111sf_isoc)
@@ -1076,7 +1070,7 @@ static struct dvb_usb_device_properties mxl111sf_props_dvbt = {
1076static int mxl111sf_get_stream_config_atsc(struct dvb_frontend *fe, 1070static int mxl111sf_get_stream_config_atsc(struct dvb_frontend *fe,
1077 u8 *ts_type, struct usb_data_stream_properties *stream) 1071 u8 *ts_type, struct usb_data_stream_properties *stream)
1078{ 1072{
1079 deb_info("%s: fe=%d\n", __func__, fe->id); 1073 pr_debug("%s: fe=%d\n", __func__, fe->id);
1080 1074
1081 *ts_type = DVB_USB_FE_TS_TYPE_188; 1075 *ts_type = DVB_USB_FE_TS_TYPE_188;
1082 if (dvb_usb_mxl111sf_isoc) 1076 if (dvb_usb_mxl111sf_isoc)
@@ -1117,7 +1111,7 @@ static struct dvb_usb_device_properties mxl111sf_props_atsc = {
1117static int mxl111sf_get_stream_config_mh(struct dvb_frontend *fe, 1111static int mxl111sf_get_stream_config_mh(struct dvb_frontend *fe,
1118 u8 *ts_type, struct usb_data_stream_properties *stream) 1112 u8 *ts_type, struct usb_data_stream_properties *stream)
1119{ 1113{
1120 deb_info("%s: fe=%d\n", __func__, fe->id); 1114 pr_debug("%s: fe=%d\n", __func__, fe->id);
1121 1115
1122 *ts_type = DVB_USB_FE_TS_TYPE_RAW; 1116 *ts_type = DVB_USB_FE_TS_TYPE_RAW;
1123 if (dvb_usb_mxl111sf_isoc) 1117 if (dvb_usb_mxl111sf_isoc)
@@ -1158,7 +1152,7 @@ static struct dvb_usb_device_properties mxl111sf_props_mh = {
1158static int mxl111sf_get_stream_config_atsc_mh(struct dvb_frontend *fe, 1152static int mxl111sf_get_stream_config_atsc_mh(struct dvb_frontend *fe,
1159 u8 *ts_type, struct usb_data_stream_properties *stream) 1153 u8 *ts_type, struct usb_data_stream_properties *stream)
1160{ 1154{
1161 deb_info("%s: fe=%d\n", __func__, fe->id); 1155 pr_debug("%s: fe=%d\n", __func__, fe->id);
1162 1156
1163 if (fe->id == 0) { 1157 if (fe->id == 0) {
1164 *ts_type = DVB_USB_FE_TS_TYPE_188; 1158 *ts_type = DVB_USB_FE_TS_TYPE_188;
@@ -1184,7 +1178,7 @@ static int mxl111sf_get_stream_config_atsc_mh(struct dvb_frontend *fe,
1184 1178
1185static int mxl111sf_streaming_ctrl_atsc_mh(struct dvb_frontend *fe, int onoff) 1179static int mxl111sf_streaming_ctrl_atsc_mh(struct dvb_frontend *fe, int onoff)
1186{ 1180{
1187 deb_info("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff); 1181 pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff);
1188 1182
1189 if (fe->id == 0) 1183 if (fe->id == 0)
1190 return mxl111sf_ep6_streaming_ctrl(fe, onoff); 1184 return mxl111sf_ep6_streaming_ctrl(fe, onoff);
@@ -1228,7 +1222,7 @@ static struct dvb_usb_device_properties mxl111sf_props_atsc_mh = {
1228static int mxl111sf_get_stream_config_mercury(struct dvb_frontend *fe, 1222static int mxl111sf_get_stream_config_mercury(struct dvb_frontend *fe,
1229 u8 *ts_type, struct usb_data_stream_properties *stream) 1223 u8 *ts_type, struct usb_data_stream_properties *stream)
1230{ 1224{
1231 deb_info("%s: fe=%d\n", __func__, fe->id); 1225 pr_debug("%s: fe=%d\n", __func__, fe->id);
1232 1226
1233 if (fe->id == 0) { 1227 if (fe->id == 0) {
1234 *ts_type = DVB_USB_FE_TS_TYPE_188; 1228 *ts_type = DVB_USB_FE_TS_TYPE_188;
@@ -1260,7 +1254,7 @@ static int mxl111sf_get_stream_config_mercury(struct dvb_frontend *fe,
1260 1254
1261static int mxl111sf_streaming_ctrl_mercury(struct dvb_frontend *fe, int onoff) 1255static int mxl111sf_streaming_ctrl_mercury(struct dvb_frontend *fe, int onoff)
1262{ 1256{
1263 deb_info("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff); 1257 pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff);
1264 1258
1265 if (fe->id == 0) 1259 if (fe->id == 0)
1266 return mxl111sf_ep6_streaming_ctrl(fe, onoff); 1260 return mxl111sf_ep6_streaming_ctrl(fe, onoff);
@@ -1306,7 +1300,7 @@ static struct dvb_usb_device_properties mxl111sf_props_mercury = {
1306static int mxl111sf_get_stream_config_mercury_mh(struct dvb_frontend *fe, 1300static int mxl111sf_get_stream_config_mercury_mh(struct dvb_frontend *fe,
1307 u8 *ts_type, struct usb_data_stream_properties *stream) 1301 u8 *ts_type, struct usb_data_stream_properties *stream)
1308{ 1302{
1309 deb_info("%s: fe=%d\n", __func__, fe->id); 1303 pr_debug("%s: fe=%d\n", __func__, fe->id);
1310 1304
1311 if (fe->id == 0) { 1305 if (fe->id == 0) {
1312 *ts_type = DVB_USB_FE_TS_TYPE_188; 1306 *ts_type = DVB_USB_FE_TS_TYPE_188;
@@ -1332,7 +1326,7 @@ static int mxl111sf_get_stream_config_mercury_mh(struct dvb_frontend *fe,
1332 1326
1333static int mxl111sf_streaming_ctrl_mercury_mh(struct dvb_frontend *fe, int onoff) 1327static int mxl111sf_streaming_ctrl_mercury_mh(struct dvb_frontend *fe, int onoff)
1334{ 1328{
1335 deb_info("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff); 1329 pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff);
1336 1330
1337 if (fe->id == 0) 1331 if (fe->id == 0)
1338 return mxl111sf_ep4_streaming_ctrl(fe, onoff); 1332 return mxl111sf_ep4_streaming_ctrl(fe, onoff);