media: venus: core: Parse firmware-name DT property
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Tue, 26 Jan 2021 08:42:52 +0000 (09:42 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 22 Mar 2021 08:38:46 +0000 (09:38 +0100)
commit18a6262b05f7c87a42de22d426e20402d163637f
treee0ed0bd5df9d58e094652f5905bc46744b775f6f
parentf765f45f29107fd51fc705f952542677e038758e
media: venus: core: Parse firmware-name DT property

On production devices the firmware could be located on different
places, this path could be provided by special firmware-name DT
property.

Here we check for existence of such DT property and if it exist
take the firmware path from there. Otherwise, if the property
is missing we fallback to the predefined path from driver resource
structure.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/venus/firmware.c