Fix the wrong assignment in i2c stop request

The reg was assigned to addr instead of reg.