diff options
author | Liu Ying <victor.liu@nxp.com> | 2020-07-10 10:55:10 +0800 |
---|---|---|
committer | Liu Ying <victor.liu@nxp.com> | 2020-07-10 16:35:21 +0800 |
commit | f908593dbf90cc5e2e85e860ed8e7770d5855dc3 (patch) | |
tree | 12b48487456dbd9fa55d6cd5b3361390cf4fcc2a /arch/arm64/boot/dts/freescale/imx8mp-evk-dsp.dts | |
parent | ba6d6c1f4df236f709f0f5f51a00520e0de55736 (diff) |
LF-1750 gpu: imx: imx8_dprc: Get scu ipc handle in ->probe()
Instead of getting scu ipc handle from time to time in helpers
of the driver, we can get it in ->probe() once and cache it in
struct dprc. Also, we should check the return value of
imx_scu_get_handle() to get the handle in case it returns error
code. This makes Coverity happy.
This fixes two Coverity issues: CID 9993376 & CID 9993377.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mp-evk-dsp.dts')
0 files changed, 0 insertions, 0 deletions