-
由 Roman Volkov 提交于
Modify the oxygen_write_spi() function to use the newly introduced oxygen_wait_spi() function. Change return value from void to int, so it can return error codes. Older drivers just ignore that return value, new drivers can check this value. We need to wait AFTER initiating the SPI transaction, otherwise read operation will not work. Signed-off-by: NRoman Volkov <v1ron@mail.ru> Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
303cff30