media: venus: vdec: Use helper to get profile and level
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Tue, 8 Sep 2020 12:12:10 +0000 (14:12 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 14 Sep 2020 13:41:27 +0000 (15:41 +0200)
commit5a86626efa51407feabeaae94f112ac2636edf39
treee34083211eb0d749fd6df7120c07ae5e82c44f89
parent3cd136713bf99911070d7203383748497581672c
media: venus: vdec: Use helper to get profile and level

Currently the returned profile and level is not aligned with
v4l2 ctrl id. Correct that by use the helpers which translate
the v4l2 <-> hfi mapping internally.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/venus/vdec_ctrls.c