]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: qat - fix bar discovery for c62x
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Thu, 22 Dec 2016 15:00:12 +0000 (15:00 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 2 Feb 2017 13:54:52 +0000 (21:54 +0800)
commitf8153bd80c99c9d5de0606d1edb442e49373bc31
tree4d4be0d20d4946c51ef47a882d78c9934a219c0e
parentdcf959919e89df31004795399b8f10d569f8b177
crypto: qat - fix bar discovery for c62x

Some accelerators of the c62x series have only two bars.
This patch skips BAR0 if the accelerator does not have it.

Cc: <stable@vger.kernel.org>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_c62x/adf_drv.c
drivers/crypto/qat/qat_common/adf_accel_devices.h