commit | dbb689fd9f3a19991709828752bf1d81b0857db7 | [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 | e2e4ca37be37307fb6c9d978ebe9627c3b65347e [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>