Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spi: dw: fix potential variable assignment error
spi::mode is defined by framework for several SPI capabilities, such as polarity, phase, bit-endian, wire number. Directly use this variable for setting controller's polarity and phase causes other bit in register being set. Since SPI framework has its definition, fetch required bit in spi::mode and set to register.
- Loading branch information