File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
drivers/i3c/master/mipi-i3c-hci Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ static int hci_cmd_v1_daa(struct i3c_hci *hci)
298
298
unsigned int dcr , bcr ;
299
299
DECLARE_COMPLETION_ONSTACK (done );
300
300
301
- xfer = hci_alloc_xfer (2 );
301
+ xfer = hci_alloc_xfer (1 );
302
302
if (!xfer )
303
303
return - ENOMEM ;
304
304
@@ -339,12 +339,12 @@ static int hci_cmd_v1_daa(struct i3c_hci *hci)
339
339
ret = - ETIME ;
340
340
break ;
341
341
}
342
- if (RESP_STATUS (xfer [ 0 ]. response ) == RESP_ERR_NACK &&
342
+ if (RESP_STATUS (xfer -> response ) == RESP_ERR_NACK &&
343
343
RESP_DATA_LENGTH (xfer -> response ) == 1 ) {
344
344
ret = 0 ; /* no more devices to be assigned */
345
345
break ;
346
346
}
347
- if (RESP_STATUS (xfer [ 0 ]. response ) != RESP_SUCCESS ) {
347
+ if (RESP_STATUS (xfer -> response ) != RESP_SUCCESS ) {
348
348
ret = - EIO ;
349
349
break ;
350
350
}
You can’t perform that action at this time.
0 commit comments