From: Ye Li Date: Sat, 7 Aug 2021 08:00:51 +0000 (+0800) Subject: drivers: misc: s400_api: Update S400_SUCCESS_IND to 0xd6 X-Git-Tag: v2025.01-rc5-pxa1908~1754^2~23 X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=a6ffde5ea5f65e0b68cdf960d998a381e8a358fd;p=u-boot.git 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: Ye Li Signed-off-by: Peng Fan --- diff --git a/drivers/misc/imx8ulp/imx8ulp_mu.c b/drivers/misc/imx8ulp/imx8ulp_mu.c index 3f6dd558e6..f3ca5473e3 100644 --- a/drivers/misc/imx8ulp/imx8ulp_mu.c +++ b/drivers/misc/imx8ulp/imx8ulp_mu.c @@ -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]; - if ((result & 0xff) == 0) + if ((result & 0xff) == 0xd6) return 0; return -EIO;