[PATCH 5.12 028/363] i2c: bail out early when RDWR parameters are wrong