[PATCH 6.14 132/783] i2c: amd-asf: Set cmd variable when encountering an error