diff options
author | Andrew Bresticker <[email protected]> | 2014-09-18 17:18:56 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2014-10-06 21:29:07 +0100 |
commit | a6551a76fff15056fde2342d0f7de41ee605264e (patch) | |
tree | 94ff2a687fc6c8d7ef55a741b2d7db2634eb508d /lib/memory-notifier-error-inject.c | |
parent | 659e142be09482cfd8b9017f616afebc7cf48fa3 (diff) |
mfd: cros_ec: stop calling ->cmd_xfer() directly
Instead of having users of the ChromeOS EC call the interface-specific
cmd_xfer() callback directly, introduce a central cros_ec_cmd_xfer()
to use instead. This will allow us to put all the locking and retry
logic in one place instead of duplicating it across the different
drivers.
Signed-off-by: Andrew Bresticker <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Javier Martinez Canillas <[email protected]>
Reviewed-by: Doug Anderson <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions