]> git.karo-electronics.de Git - mv-sheeva.git/commit
spi/dw_spi: remove the un-necessary flush()
authorAlek Du <alek.du@intel.com>
Wed, 30 Mar 2011 15:09:53 +0000 (23:09 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 31 Mar 2011 03:31:48 +0000 (21:31 -0600)
commit8a33a373e5ffb6040c58ff41ea48ba21d5f8b5e9
tree367a5267512482dc65d0a883156a8dcf0f2e596b
parentde6efe0a966cf86b3c4039a610b2d4157db707f2
spi/dw_spi: remove the un-necessary flush()

The flush() is used to drain all the left data in rx fifo, currently
is is always called together with disabling hw. But from spec, disabling
hw will also reset all the fifo, so flush() is not needed.

Signed-off-by: Alek Du <alek.du@intel.com>
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/dw_spi.c