Re: [PATCH v2 2/7] mfd: cros_ec: spi: Add mutex to cros_ec_spi

2014-04-23 Thread Lee Jones
On Tue, 22 Apr 2014, Doug Anderson wrote: The main transfer function for cros_ec_spi can be called by more than one client at a time. Make sure that those clients don't stomp on each other by locking the bus for the duration of the transfer function. Signed-off-by: Doug Anderson

[PATCH v2 2/7] mfd: cros_ec: spi: Add mutex to cros_ec_spi

2014-04-22 Thread Doug Anderson
The main transfer function for cros_ec_spi can be called by more than one client at a time. Make sure that those clients don't stomp on each other by locking the bus for the duration of the transfer function. Signed-off-by: Doug Anderson diand...@chromium.org Reviewed-by: Simon Glass