summaryrefslogtreecommitdiff
path: root/drivers/crypto/qat/qat_common
diff options
context:
space:
mode:
authorShashank Gupta <shashank.gupta@intel.com>2023-02-27 23:55:41 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-03-14 12:06:44 +0300
commit59a0ab49536eba9f03748781c7f061d72a70f376 (patch)
tree36a0f47eb1ae57bc470655d93c431edf0373249c /drivers/crypto/qat/qat_common
parentf900fde28883602b6c5e1027a6c912b673382aaf (diff)
downloadlinux-59a0ab49536eba9f03748781c7f061d72a70f376.tar.xz
crypto: qat - delay sysfs initialization
The function adf_sysfs_init() is used by qat_4xxx to create sysfs attributes. This is called by the probe function before starting a device. With this sequence, there might be a chance that the sysfs entries for configuration might be changed by a user while the driver is performing a device bring-up causing unexpected behaviors. Delay the creation of sysfs entries after adf_dev_start(). Signed-off-by: Shashank Gupta <shashank.gupta@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_common')
0 files changed, 0 insertions, 0 deletions