@@ -292,7 +292,7 @@ static int stk7700P2_frontend_attach(struct dvb_usb_adapter *adap)
292
292
stk7700d_dib7000p_mt2266_config )
293
293
!= 0 ) {
294
294
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" , __func__ );
295
- dvb_detach (& state -> dib7000p_ops );
295
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
296
296
return - ENODEV ;
297
297
}
298
298
}
@@ -326,7 +326,7 @@ static int stk7700d_frontend_attach(struct dvb_usb_adapter *adap)
326
326
stk7700d_dib7000p_mt2266_config )
327
327
!= 0 ) {
328
328
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" , __func__ );
329
- dvb_detach (& state -> dib7000p_ops );
329
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
330
330
return - ENODEV ;
331
331
}
332
332
}
@@ -479,7 +479,7 @@ static int stk7700ph_frontend_attach(struct dvb_usb_adapter *adap)
479
479
& stk7700ph_dib7700_xc3028_config ) != 0 ) {
480
480
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" ,
481
481
__func__ );
482
- dvb_detach (& state -> dib7000p_ops );
482
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
483
483
return - ENODEV ;
484
484
}
485
485
@@ -1010,7 +1010,7 @@ static int stk7070p_frontend_attach(struct dvb_usb_adapter *adap)
1010
1010
& dib7070p_dib7000p_config ) != 0 ) {
1011
1011
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" ,
1012
1012
__func__ );
1013
- dvb_detach (& state -> dib7000p_ops );
1013
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
1014
1014
return - ENODEV ;
1015
1015
}
1016
1016
@@ -1068,7 +1068,7 @@ static int stk7770p_frontend_attach(struct dvb_usb_adapter *adap)
1068
1068
& dib7770p_dib7000p_config ) != 0 ) {
1069
1069
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" ,
1070
1070
__func__ );
1071
- dvb_detach (& state -> dib7000p_ops );
1071
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
1072
1072
return - ENODEV ;
1073
1073
}
1074
1074
@@ -3036,7 +3036,7 @@ static int nim7090_frontend_attach(struct dvb_usb_adapter *adap)
3036
3036
3037
3037
if (state -> dib7000p_ops .i2c_enumeration (& adap -> dev -> i2c_adap , 1 , 0x10 , & nim7090_dib7000p_config ) != 0 ) {
3038
3038
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" , __func__ );
3039
- dvb_detach (& state -> dib7000p_ops );
3039
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
3040
3040
return - ENODEV ;
3041
3041
}
3042
3042
adap -> fe_adap [0 ].fe = state -> dib7000p_ops .init (& adap -> dev -> i2c_adap , 0x80 , & nim7090_dib7000p_config );
@@ -3089,7 +3089,7 @@ static int tfe7090pvr_frontend0_attach(struct dvb_usb_adapter *adap)
3089
3089
/* initialize IC 0 */
3090
3090
if (state -> dib7000p_ops .i2c_enumeration (& adap -> dev -> i2c_adap , 1 , 0x20 , & tfe7090pvr_dib7000p_config [0 ]) != 0 ) {
3091
3091
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" , __func__ );
3092
- dvb_detach (& state -> dib7000p_ops );
3092
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
3093
3093
return - ENODEV ;
3094
3094
}
3095
3095
@@ -3119,7 +3119,7 @@ static int tfe7090pvr_frontend1_attach(struct dvb_usb_adapter *adap)
3119
3119
i2c = state -> dib7000p_ops .get_i2c_master (adap -> dev -> adapter [0 ].fe_adap [0 ].fe , DIBX000_I2C_INTERFACE_GPIO_6_7 , 1 );
3120
3120
if (state -> dib7000p_ops .i2c_enumeration (i2c , 1 , 0x10 , & tfe7090pvr_dib7000p_config [1 ]) != 0 ) {
3121
3121
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" , __func__ );
3122
- dvb_detach (& state -> dib7000p_ops );
3122
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
3123
3123
return - ENODEV ;
3124
3124
}
3125
3125
@@ -3194,7 +3194,7 @@ static int tfe7790p_frontend_attach(struct dvb_usb_adapter *adap)
3194
3194
1 , 0x10 , & tfe7790p_dib7000p_config ) != 0 ) {
3195
3195
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" ,
3196
3196
__func__ );
3197
- dvb_detach (& state -> dib7000p_ops );
3197
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
3198
3198
return - ENODEV ;
3199
3199
}
3200
3200
adap -> fe_adap [0 ].fe = state -> dib7000p_ops .init (& adap -> dev -> i2c_adap ,
@@ -3289,7 +3289,7 @@ static int stk7070pd_frontend_attach0(struct dvb_usb_adapter *adap)
3289
3289
stk7070pd_dib7000p_config ) != 0 ) {
3290
3290
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" ,
3291
3291
__func__ );
3292
- dvb_detach (& state -> dib7000p_ops );
3292
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
3293
3293
return - ENODEV ;
3294
3294
}
3295
3295
@@ -3364,7 +3364,7 @@ static int novatd_frontend_attach(struct dvb_usb_adapter *adap)
3364
3364
stk7070pd_dib7000p_config ) != 0 ) {
3365
3365
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" ,
3366
3366
__func__ );
3367
- dvb_detach (& state -> dib7000p_ops );
3367
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
3368
3368
return - ENODEV ;
3369
3369
}
3370
3370
}
@@ -3600,7 +3600,7 @@ static int pctv340e_frontend_attach(struct dvb_usb_adapter *adap)
3600
3600
3601
3601
if (state -> dib7000p_ops .dib7000pc_detection (& adap -> dev -> i2c_adap ) == 0 ) {
3602
3602
/* Demodulator not found for some reason? */
3603
- dvb_detach (& state -> dib7000p_ops );
3603
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
3604
3604
return - ENODEV ;
3605
3605
}
3606
3606
0 commit comments