Re: [PATCH] cros_ec_i2c: prevent i2c timeout for EC_CMD_FLASH_ERASE

2017-05-15 Thread Doug Anderson
Hi, On Wed, May 10, 2017 at 10:30 PM, Wei-Ning Huang wrote: > Some EC chip has larger flash sector size which requires longer erase > time. During erase the CPU is usually stalled and can't even respond to > interrupts. We sleep a while to block any EC command from executing > during the flash er

[PATCH] cros_ec_i2c: prevent i2c timeout for EC_CMD_FLASH_ERASE

2017-05-15 Thread Wei-Ning Huang
Some EC chip has larger flash sector size which requires longer erase time. During erase the CPU is usually stalled and can't even respond to interrupts. We sleep a while to block any EC command from executing during the flash erase period. Signed-off-by: Wei-Ning Huang --- drivers/mfd/cros_ec_i