> -     if (adap->quirks->flags & I2C_AQ_NO_ZERO_LEN)
> +     if (adap->quirks && adap->quirks->flags & I2C_AQ_NO_ZERO_LEN)

Right. Please use i2c_check_quirks(). Otherwise thanks for the catch!

@Mediatek-people: can we have a dedicated maintainer for this driver to
better prevent stuff like this from happening again?

Attachment: signature.asc
Description: PGP signature

Reply via email to