firmware: imx: Skip return value check for some special SCU firmware APIs
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 7 Oct 2019 01:15:59 +0000 (09:15 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 14 Oct 2019 12:48:17 +0000 (20:48 +0800)
commit51f5afabc07a13e3d030076c772a1c36e1687b99
tree7a545adeeae8de1045e99fd235b741aea4961921
parentcf0fd404455ce13850cc15423a3c2958933de384
firmware: imx: Skip return value check for some special SCU firmware APIs

The SCU firmware does NOT always have return value stored in message
header's function element even the API has response data, those special
APIs are defined as void function in SCU firmware, so they should be
treated as return success always.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/firmware/imx/imx-scu.c