Benjamin Valentin
d21dc25cfe
sam0/spi: Don't re-configure SPI device when not needed
...
Currently, spi_acquire() will always re-configure the SPI bus.
If the configuration did not change, this is entirely uneccecary
and makes SPI operations take longer than needed.
Instead, compare the current configuration with the new configuration
and skip the initialisation if it didn't change since the last call.
2019-11-12 11:31:41 +01:00
..
2019-10-24 23:08:36 +02:00
2019-10-18 12:40:34 +02:00
2019-11-08 16:58:03 +01:00
2019-11-08 16:58:03 +01:00
2019-10-18 12:40:34 +02:00
2019-10-18 12:40:34 +02:00
2019-10-18 12:40:34 +02:00
2019-10-18 12:40:34 +02:00
2019-11-08 16:58:03 +01:00
2019-10-29 21:27:00 +01:00
2019-10-29 21:27:00 +01:00
2019-10-29 21:27:00 +01:00
2019-09-12 11:32:31 +02:00
2019-10-21 08:23:51 +02:00
2019-10-24 23:08:36 +02:00
2019-11-06 23:25:53 +01:00
2019-10-25 11:48:58 +02:00
2019-10-25 11:48:58 +02:00
2019-11-07 11:00:36 +01:00
2019-10-21 08:23:51 +02:00
2019-10-24 23:08:36 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-11-08 14:02:35 +01:00
2019-10-24 23:08:36 +02:00
2019-10-18 18:57:42 +01:00
2019-10-18 18:57:42 +01:00
2019-10-18 18:57:42 +01:00
2019-10-24 23:08:36 +02:00
2019-06-03 13:44:10 +02:00
2019-10-24 23:08:36 +02:00
2019-11-07 11:00:36 +01:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-11-12 11:31:41 +01:00
2019-10-18 08:55:33 +02:00
2019-09-30 17:25:24 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-08-29 10:35:53 +02:00
2019-11-01 23:16:37 +01:00
2019-10-21 15:30:22 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2017-01-20 13:36:26 +01:00