summaryrefslogtreecommitdiff
path: root/drivers/misc/imx8/scu_api.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-08-08 08:33:19 -0600
committerTom Rini <trini@konsulko.com>2025-08-08 08:33:19 -0600
commit7ef148daa44e08c5a11a11920dcb553aa178f3ee (patch)
treefcd2f6995324b4a5301036da5a64b9c37eda2ba8 /drivers/misc/imx8/scu_api.c
parent123cd77122a13288e1552b5d9b7c22a6f19e2e02 (diff)
parentb6e2cfca1a6fd10c8f12016a40d690d2ec61796c (diff)
Merge tag 'u-boot-imx-master-20250808' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/27314 - Several Smatch reported fixes. - Enable the temperature command on imx8ulp-evk. - Fix mx8mm_fracpll_tbl. - Make optee packaging optional for imx8m. - Reuse and export low_drive_freq_update() on imx9. - Enable USB OTG ID pin pull up in SPL on dh-imx6.
Diffstat (limited to 'drivers/misc/imx8/scu_api.c')
-rw-r--r--drivers/misc/imx8/scu_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/misc/imx8/scu_api.c b/drivers/misc/imx8/scu_api.c
index a40c8badf9a..8985ab6584d 100644
--- a/drivers/misc/imx8/scu_api.c
+++ b/drivers/misc/imx8/scu_api.c
@@ -1282,8 +1282,7 @@ int sc_seco_secvio_dgo_config(sc_ipc_t ipc, u8 id, u8 access, u32 *data)
printf("%s, id:0x%x, access:%x, res:%d\n",
__func__, id, access, RPC_R8(&msg));
- if (data)
- *data = RPC_U32(&msg, 0U);
+ *data = RPC_U32(&msg, 0U);
return ret;
}