From 1fe368665b1499041919d78467147849989af7c9 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Wed, 30 Apr 2014 10:44:04 -0700 Subject: [PATCH] mfd: cros_ec: spi: Calculate delay between transfers correctly To avoid spamming the EC we calculate the time between the previous transfer and the current transfer and force a delay if the time delta is too small. However, a small miscalculation causes the delay period to be far too short. Most noticably this impacts commands with a long turnaround time such as EC firmware reads and writes. Signed-off-by: David Hendricks Signed-off-by: Doug Anderson Reviewed-by: Simon Glass Tested-by: Andrew Bresticker Tested-by: Stephen Warren Signed-off-by: Lee Jones --- Reading git-format-patch failed