Commit 568ecff8 authored by Yu'an Wang's avatar Yu'an Wang Committed by Yang Yingliang
Browse files

qm: fix the way judge whether q stop in user space



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

In this patch, we try to fix the way judge whether q stop in user
space.
The driver judge whether device stop by parameter qp_status.used,
but this parameter only used in kernel. So we compare sqc and cqc
tail to judge finish status of tasks for user space.

Signed-off-by: default avatarYu'an Wang <wangyuan46@huawei.com>
Reviewed-by: default avatarCheng Hu <hucheng.hu@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 5dd962e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment