diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-09-22 16:46:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 07:39:44 -0700 |
commit | 570327d9f48b0be5ca626bcfd80266b7ee2001aa (patch) | |
tree | 273502722726dab6e8a1c1fa903e642d22be3373 /drivers/spi/omap_uwire.c | |
parent | 6d61320707ac2960bc820616bd5921885b874780 (diff) |
spi_s3c24xx: cache device setup data
With the update to the spi_bitbang driver, the transfer setup code is
being called more often, and thus is often re-doing calculations that have
been done before. The SPI layer allows our driver to add its own data to
each device so add a result cache to each device.
This should also remove the problem where we where directly setting up
registers in the setup call which meant we might overwrite the state of an
extant transfer.,
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>
Diffstat (limited to 'drivers/spi/omap_uwire.c')
0 files changed, 0 insertions, 0 deletions