File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -6124,19 +6124,6 @@ static void ufshcd_err_handler(struct work_struct *work)
61246124do_reset :
61256125 /* Fatal errors need reset */
61266126 if (needs_reset ) {
6127- unsigned long max_doorbells = (1UL << hba -> nutrs ) - 1 ;
6128-
6129- /*
6130- * ufshcd_reset_and_restore() does the link reinitialization
6131- * which will need atleast one empty doorbell slot to send the
6132- * device management commands (NOP and query commands).
6133- * If there is no slot empty at this moment then free up last
6134- * slot forcefully.
6135- */
6136- if (hba -> outstanding_reqs == max_doorbells )
6137- __ufshcd_transfer_req_compl (hba ,
6138- (1UL << (hba -> nutrs - 1 )));
6139-
61406127 hba -> force_reset = false;
61416128 spin_unlock_irqrestore (hba -> host -> host_lock , flags );
61426129 err = ufshcd_reset_and_restore (hba );
You can’t perform that action at this time.
0 commit comments