commit | 25f33512f6ae7e37d7b3d353d57d4d6d066033ce | [log] [tgz] |
---|---|---|
author | Brian Niebuhr <bniebuhr@efjohnson.com> | Thu Aug 19 12:15:22 2010 +0530 |
committer | Sekhar Nori <nsekhar@ti.com> | Thu Nov 18 18:38:26 2010 +0530 |
tree | 2c458d56e07f842c78fd31f7e13a28fe1b7a9361 | |
parent | 53a31b07c5aea4001bbb36ddd5ef2addffc7ccbd [diff] |
spi: davinci: consolidate setup of SPIFMTn in one function Consolidate the setup of SPIFMTn register under davinci_spi_setup_transfer() simplifying the code and avoiding unnecessary reads and writes to the register. The two inline functions {set|clear}_fmt_bits() can be eliminated because of this. Signed-off-by: Brian Niebuhr <bniebuhr@efjohnson.com> Tested-By: Michael Williamson <michael.williamson@criticallink.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>