commit | c98f6fed93ca49a956d628200b2dfa1454ce6fbb | [log] [tgz] |
---|---|---|
author | Paul Barker <paul.barker@sancloud.com> | Wed Oct 05 13:18:34 2022 +0100 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sun Oct 16 12:23:22 2022 +0200 |
tree | da69733fed050f319e35332aa052cfee314b1efc | |
parent | 0e49f5c26caf9972137a474065afd4bdfe5ec062 [diff] |
spi: Implement spi_set_speed This function is already defined in spi.h but no implementation of it currently exists in the tree. The implementation is based on the static function spi_set_speed_mode(). The function prototype is modified so that an success or error condition can be returned to the caller. Signed-off-by: Paul Barker <paul.barker@sancloud.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>