[PATCH] SPI: spi_bitbang: clocking fixes
authorDavid Brownell <david-b@pacbell.net>
Fri, 7 Apr 2006 05:25:56 +0000 (22:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 May 2006 21:33:58 +0000 (14:33 -0700)
This fixes two problems triggered by the MMC stack updating clocks:

 - SPI masters driver should accept a max clock speed of zero; that's one
   convention for marking idle devices.  (Presumably that helps controllers
   that don't autogate clocks to "off" when not in use.)

 - There are more than 1000 nanoseconds per millisecond; setting the clock
   down to 125 KHz now works properly.

Showing once again that Zero (http://en.wikipedia.org/wiki/Zero) is still
an inexhaustible number of bugs.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found