@@ -291,7 +291,7 @@ static int stk7700P2_frontend_attach(struct dvb_usb_adapter *adap)
291
291
stk7700d_dib7000p_mt2266_config )
292
292
!= 0 ) {
293
293
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" , __func__ );
294
- dvb_detach (& state -> dib7000p_ops );
294
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
295
295
return - ENODEV ;
296
296
}
297
297
}
@@ -325,7 +325,7 @@ static int stk7700d_frontend_attach(struct dvb_usb_adapter *adap)
325
325
stk7700d_dib7000p_mt2266_config )
326
326
!= 0 ) {
327
327
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" , __func__ );
328
- dvb_detach (& state -> dib7000p_ops );
328
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
329
329
return - ENODEV ;
330
330
}
331
331
}
@@ -478,7 +478,7 @@ static int stk7700ph_frontend_attach(struct dvb_usb_adapter *adap)
478
478
& stk7700ph_dib7700_xc3028_config ) != 0 ) {
479
479
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" ,
480
480
__func__ );
481
- dvb_detach (& state -> dib7000p_ops );
481
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
482
482
return - ENODEV ;
483
483
}
484
484
@@ -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
@@ -3056,7 +3056,7 @@ static int nim7090_frontend_attach(struct dvb_usb_adapter *adap)
3056
3056
3057
3057
if (state -> dib7000p_ops .i2c_enumeration (& adap -> dev -> i2c_adap , 1 , 0x10 , & nim7090_dib7000p_config ) != 0 ) {
3058
3058
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" , __func__ );
3059
- dvb_detach (& state -> dib7000p_ops );
3059
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
3060
3060
return - ENODEV ;
3061
3061
}
3062
3062
adap -> fe_adap [0 ].fe = state -> dib7000p_ops .init (& adap -> dev -> i2c_adap , 0x80 , & nim7090_dib7000p_config );
@@ -3109,7 +3109,7 @@ static int tfe7090pvr_frontend0_attach(struct dvb_usb_adapter *adap)
3109
3109
/* initialize IC 0 */
3110
3110
if (state -> dib7000p_ops .i2c_enumeration (& adap -> dev -> i2c_adap , 1 , 0x20 , & tfe7090pvr_dib7000p_config [0 ]) != 0 ) {
3111
3111
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" , __func__ );
3112
- dvb_detach (& state -> dib7000p_ops );
3112
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
3113
3113
return - ENODEV ;
3114
3114
}
3115
3115
@@ -3139,7 +3139,7 @@ static int tfe7090pvr_frontend1_attach(struct dvb_usb_adapter *adap)
3139
3139
i2c = state -> dib7000p_ops .get_i2c_master (adap -> dev -> adapter [0 ].fe_adap [0 ].fe , DIBX000_I2C_INTERFACE_GPIO_6_7 , 1 );
3140
3140
if (state -> dib7000p_ops .i2c_enumeration (i2c , 1 , 0x10 , & tfe7090pvr_dib7000p_config [1 ]) != 0 ) {
3141
3141
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" , __func__ );
3142
- dvb_detach (& state -> dib7000p_ops );
3142
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
3143
3143
return - ENODEV ;
3144
3144
}
3145
3145
@@ -3214,7 +3214,7 @@ static int tfe7790p_frontend_attach(struct dvb_usb_adapter *adap)
3214
3214
1 , 0x10 , & tfe7790p_dib7000p_config ) != 0 ) {
3215
3215
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" ,
3216
3216
__func__ );
3217
- dvb_detach (& state -> dib7000p_ops );
3217
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
3218
3218
return - ENODEV ;
3219
3219
}
3220
3220
adap -> fe_adap [0 ].fe = state -> dib7000p_ops .init (& adap -> dev -> i2c_adap ,
@@ -3309,7 +3309,7 @@ static int stk7070pd_frontend_attach0(struct dvb_usb_adapter *adap)
3309
3309
stk7070pd_dib7000p_config ) != 0 ) {
3310
3310
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" ,
3311
3311
__func__ );
3312
- dvb_detach (& state -> dib7000p_ops );
3312
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
3313
3313
return - ENODEV ;
3314
3314
}
3315
3315
@@ -3384,7 +3384,7 @@ static int novatd_frontend_attach(struct dvb_usb_adapter *adap)
3384
3384
stk7070pd_dib7000p_config ) != 0 ) {
3385
3385
err ("%s: state->dib7000p_ops.i2c_enumeration failed. Cannot continue\n" ,
3386
3386
__func__ );
3387
- dvb_detach (& state -> dib7000p_ops );
3387
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
3388
3388
return - ENODEV ;
3389
3389
}
3390
3390
}
@@ -3620,7 +3620,7 @@ static int pctv340e_frontend_attach(struct dvb_usb_adapter *adap)
3620
3620
3621
3621
if (state -> dib7000p_ops .dib7000pc_detection (& adap -> dev -> i2c_adap ) == 0 ) {
3622
3622
/* Demodulator not found for some reason? */
3623
- dvb_detach (& state -> dib7000p_ops );
3623
+ dvb_detach (state -> dib7000p_ops . set_wbd_ref );
3624
3624
return - ENODEV ;
3625
3625
}
3626
3626
0 commit comments