i2c: mxc: add a condition in case the parameter is NULL