Re: [edk2-devel] [PATCH] Silicon/SynQuacerI2cDxe: Wait for bus busy

2021-10-12 Thread Masami Hiramatsu
Hello Ard, Would you have any comment on this fix? Thank you, 2021年9月30日(木) 14:44 Masami Hiramatsu via groups.io : > If an EFI application frequently repeats SetTime and GetTime, > the I2C bus can be busy and failed to start. To fix this issue, > add waiting loop for the bus busy status.

[edk2-devel] [PATCH] Silicon/SynQuacerI2cDxe: Wait for bus busy

2021-09-29 Thread Masami Hiramatsu
If an EFI application frequently repeats SetTime and GetTime, the I2C bus can be busy and failed to start. To fix this issue, add waiting loop for the bus busy status. (Usually, it is enough to read 3 times for checking, but for safety this sets 10 for timeout.) This also clean up the code path a