Joakim Tjernlund c9bfcb3151 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 <12o3l@tiscali.nl>: "irq" needs to be signed]
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-05-13 08:02:25 -07:00
..
2008-05-06 11:43:44 -04:00
2008-03-13 22:53:29 +01:00
2008-04-21 22:38:45 +00:00
2008-05-05 15:08:38 -07:00
2008-04-29 08:06:27 -07:00
2008-05-12 16:46:50 +01:00
2008-05-05 12:36:34 -07:00
2008-05-01 08:03:59 -07:00
2008-04-29 08:06:18 -07:00
2008-05-13 08:02:24 -07:00
2008-05-12 07:27:38 -07:00
2008-05-05 00:33:58 -07:00
2008-05-13 08:02:25 -07:00
2008-04-23 21:25:35 -04:00
2008-04-24 23:57:33 +02:00
2008-04-30 08:29:52 -07:00
2008-04-30 08:29:52 -07:00