Commit a6ffde5e authored by Ye Li's avatar Ye Li Committed by Stefano Babic
Browse files

drivers: misc: s400_api: Update S400_SUCCESS_IND to 0xd6



According to latest S400 API doc, the the success indicate value is
changed to 0xd6. So update the driver codes.
Signed-off-by: default avatarYe Li <ye.li@nxp.com>
Signed-off-by: Peng Fan's avatarPeng Fan <peng.fan@nxp.com>
parent aadd6ca1
...@@ -185,7 +185,7 @@ static int imx8ulp_mu_call(struct udevice *dev, int no_resp, void *tx_msg, ...@@ -185,7 +185,7 @@ static int imx8ulp_mu_call(struct udevice *dev, int no_resp, void *tx_msg,
} }
result = ((struct imx8ulp_s400_msg *)rx_msg)->data[0]; result = ((struct imx8ulp_s400_msg *)rx_msg)->data[0];
if ((result & 0xff) == 0) if ((result & 0xff) == 0xd6)
return 0; return 0;
return -EIO; return -EIO;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment