commit | db34cf9122319d6fed59bd3ba26fa099a8ece432 | [log] [tgz] |
---|---|---|
author | Tom Lendacky <thomas.lendacky@amd.com> | Mon Jan 06 13:34:29 2014 -0600 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jan 15 11:33:40 2014 +0800 |
tree | d161399362984611892d5f42cbe7f186547b9944 | |
parent | 82d1585b9a9d5106ec6a630696f3e2e532fc3cba [diff] |
crypto: ccp - CCP device enabled/disabled changes The CCP cannot be hot-plugged so it will either be there or it won't. Do not allow the driver to stay loaded if the CCP does not successfully initialize. Provide stub routines in the ccp.h file that return -ENODEV if the CCP has not been configured in the build. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>