mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
crypto: hisilicon/qm - simplify the status of qm
The 'QM_INIT' and 'QM_CLOSE' status of qm and 'QP_INIT' and 'QP_CLOSE' status of queue are not actually used. Currently, driver only needs to switch status when the device or queue is enabled or stopped, Therefore, remove unneeded status to simplify driver. In addition, rename'QM_START to'QM_WORK' for ease to understand. Signed-off-by: Weili Qian <qianweili@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -31,6 +31,10 @@ static const char * const qm_debug_file_name[] = {
|
||||
[CLEAR_ENABLE] = "clear_enable",
|
||||
};
|
||||
|
||||
static const char * const qm_s[] = {
|
||||
"work", "stop",
|
||||
};
|
||||
|
||||
struct qm_dfx_item {
|
||||
const char *name;
|
||||
u32 offset;
|
||||
|
||||
Reference in New Issue
Block a user