Commit 3121f021 authored by Weili Qian's avatar Weili Qian Committed by Herbert Xu

crypto: hisilicon/qm - modify 'QM_RESETTING' clearing error

Before device reset, the driver sets 'QM_RESETTING' flag, but after reset,
the wrong flag is cleared. This patch modifies the problem of inconsistent
flags.
Signed-off-by: default avatarWeili Qian <qianweili@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent dbbc5c06
......@@ -4122,7 +4122,7 @@ void hisi_qm_reset_done(struct pci_dev *pdev)
if (qm_flr_reset_complete(pdev))
pci_info(pdev, "FLR reset complete\n");
clear_bit(QM_RESETTING, &qm->misc_ctl);
clear_bit(QM_RESETTING, &pf_qm->misc_ctl);
}
EXPORT_SYMBOL_GPL(hisi_qm_reset_done);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment