crypto: qat - fix CTX_ENABLES bits shift direction issue
authorPingchao Yang <pingchao.yang@intel.com>
Wed, 16 Dec 2015 02:39:40 +0000 (10:39 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 22 Dec 2015 12:43:31 +0000 (20:43 +0800)
commit46621e6f84908bb9df494d5fc2bcd145041810d5
tree1ed791b1e42dec4faa74cd5ef1db83ff5afa98ba
parent5319216dcfee14886abb2b7090e8fcf2e2d8a611
crypto: qat - fix CTX_ENABLES bits shift direction issue

AE CTX bits should be 8-15 in CTX_ENABLES, so the mask
value 0xff should be left shifted 0x8.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Yang Pingchao <pingchao.yang@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/qat_hal.c