diff options
author | Andrey Markovytch <andreym@codeaurora.org> | 2017-01-19 19:53:03 +0200 |
---|---|---|
committer | Andrey Markovytch <andreym@codeaurora.org> | 2017-01-19 19:53:03 +0200 |
commit | d751a8d90f11bf22f52a3e95c84863b4780cf508 (patch) | |
tree | 2f05cb093002b81cea883d4db2dcc066ae73efde /drivers/scsi/ufs/ufs-qcom.h | |
parent | 33eba0ae11ee6a1a9cef3969132e637724a780be (diff) |
ufs: fixed bugs in ice related to key syncronization
1. Added reference count for requests in HW queue for particular key
2. Fixed race between block/unblock requests with asynchronous job
for key configuration in ice
Change-Id: Iaefc25739b420b2e5feae1895c7c2495b4850539
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
Diffstat (limited to 'drivers/scsi/ufs/ufs-qcom.h')
-rw-r--r-- | drivers/scsi/ufs/ufs-qcom.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/ufs-qcom.h b/drivers/scsi/ufs/ufs-qcom.h index 394de8302fd2..74d8a7a30ad6 100644 --- a/drivers/scsi/ufs/ufs-qcom.h +++ b/drivers/scsi/ufs/ufs-qcom.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. +/* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -370,6 +370,7 @@ struct ufs_qcom_host { u32 dbg_print_en; struct ufs_qcom_testbus testbus; + spinlock_t ice_work_lock; struct work_struct ice_cfg_work; struct request *req_pending; }; |