diff options
author | 2015-05-23 21:13:43 -0500 | |
---|---|---|
committer | 2015-05-25 13:00:04 +0100 | |
commit | 4373f8b6dab0de16e5ecf527626d958d20a45b3b (patch) | |
tree | 8cd6e6955a7ebb50ac2c5075da8a73f5a3fc291d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: omap2-mcspi: Remove unnecessary delay (diff) | |
download | wireguard-linux-4373f8b6dab0de16e5ecf527626d958d20a45b3b.tar.xz wireguard-linux-4373f8b6dab0de16e5ecf527626d958d20a45b3b.zip |
spi: omap2-mcspi: Fix set_cs function for active high
The core spi driver swaps the polarity of the enable based on SPI_CS_HIGH.
The omap2 controller has an internal configuration register bit called
OMAP2_MCSPI_CHCONF_EPOL to handle active high chip selects as well.
So we have to revert swap the polarity back for the correct setting of the
OMAP2_MCSPI_CHCONF_FORCE bit in omap2_mcspi_set_cs.
Signed-off-by: Michael Welling <mwelling@ieee.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions