]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 08:50:08 +0000 (10:50 +0200)
commit4253148030988dcdbe3e707fa9cf0ba1a5d9e498
tree9c79e4b8cfa915e4ba73566661d7874cda750b89
parent1112b3be39d0b88bb15bc66da7d412dbedd549e3
media: venus: firmware: Ignore secure call error on first resume

commit 9c2a0877a2485c373edc279512808a0dd539b4df upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/platform/qcom/venus/firmware.c