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

Commit d140c014 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: Don't update urgent bkops level when toggle auto bkops"

parents 2f215da2 30632c34
Loading
Loading
Loading
Loading
+1 −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-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2013-2020, The Linux Foundation. All rights reserved.
 *
 * Authors:
 *	Santosh Yaraganavi <santosh.sy@samsung.com>
@@ -5306,7 +5306,6 @@ static int ufshcd_bkops_ctrl(struct ufs_hba *hba,
		err = ufshcd_enable_auto_bkops(hba);
	else
		err = ufshcd_disable_auto_bkops(hba);
	hba->urgent_bkops_lvl = curr_status;
out:
	return err;
}