]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5093564c6be93d2c843e5d5457b63288c4f911d1
treef16da54bc993f13c3b7d91abaf76c9e707ccae5e
parent4c07a5be5737c58ce240481be8bb18ca9d8b3d49
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