We are getting crash reports where irqhandler crashes because it uses priv->msg being NULL. This can happen if an interrupt is issued before rcar_i2c_master_xfer() has initialized priv->msg. The rcar_i2c_probe() function assumes that the I2C hardware is uninitialized and connects the interrupt handler via devm_request_irq().