]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ccp - Change a message to reflect status instead of failure
authorHook, Gary <Gary.Hook@amd.com>
Mon, 21 Oct 2019 13:44:37 +0000 (13:44 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Oct 2019 15:09:59 +0000 (02:09 +1100)
commit653669992e07e250543dbf3bd9744f06c8b6c98b
treed65442d58d6101f406d9579762a658d484782873
parentb2baf7d1cfee96a2a5f43bad1d87179973faa8bd
crypto: ccp - Change a message to reflect status instead of failure

If an AMD BIOS makes zero CCP queues available to the driver, the
device is unavailable and therefore can't be activated. When this
happens, report the status but don't report a (non-existent)
failure. The CCP will be unactivated.

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-dev-v5.c
drivers/crypto/ccp/ccp-dev.c