media: venus: firmware: Ignore secure call error on first resume
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Wed, 4 Mar 2020 10:09:49 +0000 (11:09 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 30 Mar 2020 09:28:18 +0000 (11:28 +0200)
commit2632e7b618a7730969f9782593c29ca53553aa22
treef16da54bc993f13c3b7d91abaf76c9e707ccae5e
parentad71693f41aa60217eaf1c29afb49b3aa0a2db5d
media: venus: firmware: Ignore secure call error on first resume

With the latest cleanup in qcom scm driver the secure monitor
call for setting the remote processor state returns EINVAL when
it is called for the first time and after another scm call
auth_and_reset. The error returned from scm call could be ignored
because the state transition is already done in auth_and_reset.

Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/venus/firmware.c