Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01779df7 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: Update setting ufs debug error state"

parents cf68117b 76804c19
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
 *
 * This code is based on drivers/scsi/ufs/ufshcd.c
 * Copyright (C) 2011-2013 Samsung India Software Operations
 * Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2013-2019, The Linux Foundation. All rights reserved.
 *
 * Authors:
 *	Santosh Yaraganavi <santosh.sy@samsung.com>
@@ -3384,7 +3384,7 @@ static int ufshcd_wait_for_dev_cmd(struct ufs_hba *hba,
		ufshcd_outstanding_req_clear(hba, lrbp->task_tag);
	}

	if (err)
	if (err && err != -EAGAIN)
		ufsdbg_set_err_state(hba);

	return err;