Hello Lee, On 08/21/2014 03:37 PM, Lee Jones wrote: > On Wed, 20 Aug 2014, Javier Martinez Canillas wrote: >> From: Doug Anderson <diand...@chromium.org> >> >> If someone sends a EC_CMD_REBOOT_EC to the EC, the EC will likely be >> unresponsive for quite a while. Add a delay to the end of the command >> to prevent random failures of future commands. >> >> NOTES: >> * This could be optimized a bit by simply delaying the next command >> sent, but EC_CMD_REBOOT_EC is such a rare command that the extra >> complexity doesn't seem worth it. >> * This is a bit of an "ugly hack" since the SPI driver is effectively >> snooping on the communication and making a lot of assumptions. It >> would be nice to architect in some better solution long term. > > Are you planning on doing that? >
Yes, I'll add to my TO-DO list to look how better solve this after the remaining functionality that is present in downstream but is still not in mainline gets merged. >> * This same logic probably needs to be applied to the i2c driver. >> >> Signed-off-by: Doug Anderson <diand...@chromium.org> >> Reviewed-by: Randall Spangler <rspang...@chromium.org> >> Reviewed-by: Vadim Bendebury <vben...@chromium.org> >> Signed-off-by: Javier Martinez Canillas <javier.marti...@collabora.co.uk> >> --- >> drivers/mfd/cros_ec_spi.c | 9 +++++++++ >> 1 file changed, 9 insertions(+) > > I'm willing to accept this as a stand-in. > Thanks. > Acked-by: Lee Jones <lee.jo...@linaro.org> > Best regards, Javier -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html