diff options
| author | Sonic Zhang <[email protected]> | 2007-12-04 23:45:17 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-12-05 09:21:19 -0800 |
| commit | cc487e732089360727e60f9fdbe3ff6cc4ca3155 (patch) | |
| tree | a4037cc7b238b582c50ff0520c5a47822e0f83fc /include/linux/debugobjects.h | |
| parent | 12e17c4267a5b2a5ba77bd53a62388be641534b8 (diff) | |
spi: spi_bfin: change handling of communication parameters
Fix SPI driver to work with SPI flash ST M25P16 on bf548
Currently the SPI driver enables the SPI controller and sets the SPI baud
register for each SPI transfer. But they should never be changed within a SPI
message session, in which several SPI transfers are pumped.
This patch moves SPI setting to the begining of a message session, and
never disables SPI controller until an error occurs.
Signed-off-by: Sonic Zhang <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions