]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers: misc: s400_api: Update S400_SUCCESS_IND to 0xd6
authorYe Li <ye.li@nxp.com>
Sat, 7 Aug 2021 08:00:51 +0000 (16:00 +0800)
committerStefano Babic <sbabic@denx.de>
Mon, 9 Aug 2021 12:46:51 +0000 (14:46 +0200)
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 <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/misc/imx8ulp/imx8ulp_mu.c

index 3f6dd558e6321e2279a09341bf6f93fe6af88f71..f3ca5473e3b5a2604ce521b55358d0f5e812834a 100644 (file)
@@ -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;