git.graph-it.com
/
graphit
/
unipi-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf0f7ca
)
Use spi_delay for interframe spaces for kernel>=5.9.0
author
Miroslav Ondra
<ondra@faster.cz>
Tue, 13 Jul 2021 16:22:47 +0000
(18:22 +0200)
committer
Miroslav Ondra
<ondra@faster.cz>
Tue, 13 Jul 2021 16:22:47 +0000
(18:22 +0200)
modules/unipi/src/unipi_spi.c
patch
|
blob
|
history
diff --git
a/modules/unipi/src/unipi_spi.c
b/modules/unipi/src/unipi_spi.c
index 4114a7a48f95fa88d191792ec7961f6f5e918878..a5beaf46f807b8c39a2a59aefa29d418938e2efb 100644
(file)
--- a/
modules/unipi/src/unipi_spi.c
+++ b/
modules/unipi/src/unipi_spi.c
@@
-130,7
+130,6
@@
static struct neuronspi_op_buffer UNIPISPI_IDLE_MESSAGE = {
#ifdef USE_UNIPI_CPUFREQ_PATCH
static struct cpufreq_policy * current_policy = NULL;
#endif
-#endif
static void unipi_spi_set_cs(struct spi_device *spi, bool enable)
{
@@
-184,6
+183,7
@@
static void unipi_spi_set_cs(struct spi_device *spi, bool enable)
#endif
}
+#endif
/************************
* Non-static Functions *