[PATCH 5.4 011/141] i2c: bail out early when RDWR parameters are wrong