commit | a46387712da12b61bf1ce1a3f63b60a17b098960 | [log] [tgz] |
---|---|---|
author | Benson Leung <bleung@chromium.org> | Tue Apr 07 14:36:06 2020 -0700 |
committer | Benson Leung <bleung@chromium.org> | Tue Apr 07 14:42:08 2020 -0700 |
tree | d9715839c6b7674ef729a464222f3734a1f29bca | |
parent | 317a0ebe53f46527aed912f7c3df963cd9a41536 [diff] |
platform/chrome: cros_ec_spi: Wait for USECS, not NSECS The use of `delay_usecs` in terminate_request() was replaced with the new `delay` struct used by the SPI subsystem, however the unit was set to SPI_DELAY_UNIT_NSECS instead of SPI_DELAY_UNIT_USECS. This fixes that. Fixes: 7d3ca507fda9 ("platform/chrome: cros_ec_spi: Use new structure for SPI transfer delays") Signed-off-by: Benson Leung <bleung@chromium.org>