compress/qat: fix lacking memzone lookup
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Wed, 8 Jul 2020 09:44:01 +0000 (11:44 +0200)
committerAkhil Goyal <akhil.goyal@nxp.com>
Sat, 18 Jul 2020 21:09:01 +0000 (23:09 +0200)
commitdde9cc6f6c63da04407328f24bc7721910504592
treef6bc35b1bb9e8e9e52d74ee97e7fa1ecaf6fa5c4
parent2b84d2bd47df6545797ed9841636eb8023c4db7b
compress/qat: fix lacking memzone lookup

Because capability memzone of compression does not have lookup
call, second and subsequent devices cannot be created.

Fixes: 7788dceccb80 ("common/qat: add multi-process handling of capabilities")

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Adam Dybkowski <adamx.dybkowski@intel.com>
Tested-by: Yu Jiang <yux.jiang@intel.com>
drivers/compress/qat/qat_comp_pmd.c