Files
ubports_kernel_google_msm/include/linux
David Brownell e7db06b5d5 spi: move more spi_setup() functionality into core
Move some common spi_setup() error checks into the SPI framework from the
spi_master controller drivers:

 - Add a new "mode_bits" field to spi_master

 - Use that in spi_setup to validate the spi->mode value being
   requested.  Setting this new field is now mandatory for any
   controller supporting more than vanilla SPI_MODE_0.

 - Update all spi_master drivers to:

     * Initialize that field
     * Remove current spi_setup() checks using that value.

This is a net minor code shrink.

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>
2009-06-18 13:03:42 -07:00
..
2009-06-17 19:41:52 +02:00
2009-06-02 13:53:35 +03:00
2009-06-11 21:36:00 -04:00
2009-06-17 00:36:36 -04:00
2009-06-01 06:21:13 +00:00
2009-06-15 16:47:21 +10:00
2009-06-11 21:36:09 -04:00
2009-05-29 08:40:01 -07:00
2009-06-11 08:50:57 -07:00
2009-06-11 21:36:06 -04:00
2009-06-15 21:30:25 -07:00
2009-06-17 09:33:49 -07:00
2009-06-15 21:30:25 -07:00
2009-06-16 19:50:13 -07:00
2009-06-16 19:50:13 -07:00
2009-06-03 14:05:10 -04:00
2009-06-02 00:45:24 -07:00
2009-06-16 19:47:28 -07:00
2009-06-16 19:47:57 -07:00
2009-06-15 15:49:23 +02:00
2009-06-11 17:03:28 +01:00
2009-06-10 11:48:39 +03:00
2009-06-16 19:47:57 -07:00
2009-06-16 19:47:48 -07:00
2009-06-16 08:40:20 +02:00
2009-06-11 19:05:32 +02:00
2009-05-25 00:55:45 -07:00
2009-06-16 19:50:13 -07:00
2009-06-11 21:36:02 -04:00
2009-06-11 21:36:01 -04:00
2009-06-15 21:44:43 -07:00
2009-06-15 21:44:44 -07:00
2009-06-11 21:36:12 -04:00
2009-06-16 19:50:13 -07:00
2009-06-11 08:50:58 -07:00
2009-06-15 15:50:49 +02:00
2009-06-16 19:47:48 -07:00
2009-06-11 08:50:59 -07:00
2009-06-11 08:51:01 -07:00