From: Bill Richardson Date: Wed, 18 Jun 2014 18:14:05 +0000 (-0700) Subject: mfd: cros_ec: Check result code from EC messages X-Git-Tag: cleanup-for-v3.18~88^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6db07b6336589ff480528173e41f8f6af3f0097f;p=pandora-kernel.git mfd: cros_ec: Check result code from EC messages Just because the host was able to talk to the EC doesn't mean that the EC was happy with what it was told. Errors in communincation are not the same as error messages from the EC itself. This change lets the EC report its errors separately. [dianders: Added common function to cros_ec.c] Signed-off-by: Bill Richardson Signed-off-by: Doug Anderson Signed-off-by: Lee Jones --- Reading git-diff-tree failed