drivers: fix return of unsupported features on QAT GEN4
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Wed, 28 Jul 2021 16:18:30 +0000 (17:18 +0100)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 30 Jul 2021 19:08:19 +0000 (21:08 +0200)
commit3f6c8e77dd792d580712794658e1f2065290c8d0
tree2162b98fabef8ca5790f855a88302256be676361
parentdcf384b4ffe057f5d49ebececa3e1a12ab260acd
drivers: fix return of unsupported features on QAT GEN4

Fix return code when asymmetric crypto
or compression service is selected on GEN4 devices.

Fixes: 8f393c4ffdc1 ("common/qat: support GEN4 devices")

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
drivers/compress/qat/qat_comp_pmd.c
drivers/crypto/qat/qat_asym_pmd.c