Commit
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 <thirtythreeforty@gmail.com> Cc: Jagan Teki <jteki@openedev.com>
- Loading branch information