diff options
| author | Joakim Tjernlund <[email protected]> | 2008-05-12 14:02:30 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-05-13 08:02:25 -0700 |
| commit | c9bfcb3151040cff6714542d1da04ccd7e2d3efc (patch) | |
| tree | e3df8626f2b60d9373f8dfe125927f31d8381e1b /include/linux/debugobjects.h | |
| parent | f4ed0deae8983591264d0e194e168ef65f4775f5 (diff) | |
spi_mpc83xx: much improved driver
The current driver may cause glitches on SPI CLK line since one must disable
the SPI controller before changing any HW settings. Fix this by implementing
a local spi_transfer function that won't change speed and/or word size while
CS is active.
While doing that heavy lifting a few other issues were addressed too:
- Make word size 16 and 32 work too.
- Honor bits_per_word and speed_hz in spi transaction.
- Optimize the common path.
This also stops using the "bitbang" framework (except for a few constants).
[Roel Kluin <[email protected]>: "irq" needs to be signed]
Signed-off-by: Joakim Tjernlund <[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