[PATCH 5.11 028/329] i2c: bail out early when RDWR parameters are wrong