diff options
| author | Alessandro Grassi <[email protected]> | 2025-05-02 09:55:20 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-05-14 08:56:43 +0000 |
| commit | fb98bd0a13de2c9d96cb5c00c81b5ca118ac9d71 (patch) | |
| tree | ece1c20c6cac02062ac0557629ea064adf9ef44c /rust/helpers/mutex.c | |
| parent | spi: tegra114: Use value to check for invalid delays (diff) | |
| download | kernel-fb98bd0a13de2c9d96cb5c00c81b5ca118ac9d71.tar.gz kernel-fb98bd0a13de2c9d96cb5c00c81b5ca118ac9d71.zip | |
spi: spi-sun4i: fix early activation
The SPI interface is activated before the CPOL setting is applied. In
that moment, the clock idles high and CS goes low. After a short delay,
CPOL and other settings are applied, which may cause the clock to change
state and idle low. This transition is not part of a clock cycle, and it
can confuse the receiving device.
To prevent this unexpected transition, activate the interface while CPOL
and the other settings are being applied.
Signed-off-by: Alessandro Grassi <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
