diff options
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c b/linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c index 9e7bee7a0..d17d76803 100644 --- a/linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c +++ b/linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c @@ -27,7 +27,7 @@ static int dtt200u_fe_read_status(struct dvb_frontend* fe, fe_status_t *stat) u8 br[3] = { 0 }; // u8 bdeb[5] = { 0 }; - dvb_usb_generic_rw(state->d,&bw,1,br,3); + dvb_usb_generic_rw(state->d,&bw,1,br,3,0); switch (br[0]) { case 0x01: *stat = FE_HAS_SIGNAL | FE_HAS_CARRIER | FE_HAS_VITERBI | FE_HAS_SYNC | FE_HAS_LOCK; @@ -41,7 +41,7 @@ static int dtt200u_fe_read_status(struct dvb_frontend* fe, fe_status_t *stat) } // bw[0] = 0x88; -// dvb_usb_generic_rw(state->d,bw,1,bdeb,5); +// dvb_usb_generic_rw(state->d,bw,1,bdeb,5,0); // deb_info("%02x: %02x %02x %02x %02x %02x\n",bw[0],bdeb[0],bdeb[1],bdeb[2],bdeb[3],bdeb[4]); @@ -52,7 +52,7 @@ static int dtt200u_fe_read_ber(struct dvb_frontend* fe, u32 *ber) struct dtt200u_fe_state *state = fe->demodulator_priv; u8 bw = GET_BER; *ber = 0; - dvb_usb_generic_rw(state->d,&bw,1,(u8*) ber, 3); + dvb_usb_generic_rw(state->d,&bw,1,(u8*) ber,3,0); return 0; } @@ -61,7 +61,7 @@ static int dtt200u_fe_read_unc_blocks(struct dvb_frontend* fe, u32 *unc) struct dtt200u_fe_state *state = fe->demodulator_priv; u8 bw = GET_UNK; *unc = 0; - dvb_usb_generic_rw(state->d,&bw,1,(u8*) unc, 3); + dvb_usb_generic_rw(state->d,&bw,1,(u8*) unc,3,0); return 0; } @@ -69,7 +69,7 @@ static int dtt200u_fe_read_signal_strength(struct dvb_frontend* fe, u16 *strengt { struct dtt200u_fe_state *state = fe->demodulator_priv; u8 bw = GET_SIG_STRENGTH, b; - dvb_usb_generic_rw(state->d,&bw,1,&b, 1); + dvb_usb_generic_rw(state->d,&bw,1,&b,1,0); *strength = (b << 8) | b; return 0; } @@ -78,7 +78,7 @@ static int dtt200u_fe_read_snr(struct dvb_frontend* fe, u16 *snr) { struct dtt200u_fe_state *state = fe->demodulator_priv; u8 bw = GET_SNR,br; - dvb_usb_generic_rw(state->d,&bw,1,&br,1); + dvb_usb_generic_rw(state->d,&bw,1,&br,1,0); *snr = ~((br << 8) | br); return 0; } |