diff options
| -rw-r--r-- | drivers/nvmem/imx-ocotp-scu.c | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/drivers/nvmem/imx-ocotp-scu.c b/drivers/nvmem/imx-ocotp-scu.c index 03f1ab23ad51..455675dd8efe 100644 --- a/drivers/nvmem/imx-ocotp-scu.c +++ b/drivers/nvmem/imx-ocotp-scu.c @@ -15,8 +15,7 @@  #include <linux/platform_device.h>  #include <linux/slab.h> -#define IMX_SIP_OTP			0xC200000A -#define IMX_SIP_OTP_WRITE		0x2 +#define IMX_SIP_OTP_WRITE		0xc200000B  enum ocotp_devtype {  	IMX8QXP, @@ -212,8 +211,7 @@ static int imx_scu_ocotp_write(void *context, unsigned int offset,  	mutex_lock(&scu_ocotp_mutex); -	arm_smccc_smc(IMX_SIP_OTP, IMX_SIP_OTP_WRITE, index, *buf, -		      0, 0, 0, 0, &res); +	arm_smccc_smc(IMX_SIP_OTP_WRITE, index, *buf, 0, 0, 0, 0, 0, &res);  	mutex_unlock(&scu_ocotp_mutex); | 
