commit | 191529756633052680dd9d23ad63744ca5aa02a1 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben@simtec.co.uk> | Tue Aug 18 14:11:17 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Aug 18 16:31:13 2009 -0700 |
tree | 94f4f35d042dbbf3fb0a3692d98d117ce9ade130 | |
parent | b8978784544e8b4e8fbacb558df8580957d4f8a5 [diff] |
spi_s3c24xx: fix transfer setup code Since the changes to the bitbang driver, there is the possibility we will be called with either the speed_hz or bpw values zero. We take these to mean that the default values (8 bits per word, or maximum bus speed). Signed-off-by: Ben Dooks <ben@simtec.co.uk> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>