[PATCH 5.10 022/289] i2c: bail out early when RDWR parameters are wrong