Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters