Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sunxi-spi: restore bus speed and mode after reset
The sunxi SPI peripheral driver resets the device completely (disabling clocks and power) when the bus is released and turns it back on when claiming. On the F1C100s (and maybe others), the peripheral resets back to default register settings, losing speed and mode settings. Restore these settings when resetting the peripheral. Signed-off-by: George Hilliard <email@example.com> Cc: Jagan Teki <firstname.lastname@example.org>
- Loading branch information
Showing with 9 additions and 1 deletion.
- +9 −1 drivers/spi/spi-sunxi.c