]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon - check _PS0 and _PR0 method
authorWeili Qian <qianweili@huawei.com>
Fri, 13 Aug 2021 09:50:09 +0000 (17:50 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 21 Aug 2021 07:44:58 +0000 (15:44 +0800)
commit59eaef1185d2fc1e135f737ed97d661d98802898
tree6747d3eefbd44fa18533ded47aa6f41e270c67c9
parente4ea422d3ecbec37dfe020263d0613ff84f7944d
crypto: hisilicon - check _PS0 and _PR0 method

To support runtime PM, use the function 'pci_set_power_state' to change
the power state. Therefore, method _PS0 or _PR0 needs to be filled by
platform. So check whether the method is supported, if not, print a
prompt information.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c