diff options
| author | Weili Qian <qianweili@huawei.com> | 2021-08-13 17:50:05 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-08-21 15:44:58 +0800 |
| commit | 1295292d65b729fc8b234fcdf884d79ff5a63ca1 (patch) | |
| tree | 17e7c04bd2ace1f39ef94abb5889b723341ee413 /lib/test-string_helpers.c | |
| parent | 357a753f5ec7ccdec196fa825d906c3acc4bd57c (diff) | |
crypto: hisilicon - using 'debugfs_create_file' instead of 'debugfs_create_regset32'
The accelerator devices support runtime PM, when device is in suspended, an
exception will occur if reading registers. Therefore, this patch uses
'debugfs_create_file' instead of 'debugfs_create_regset32' to create
debugfs file, and then the driver can get the device status before
reading the register.
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
