commit | 210dd1bb9b0329bcc1b4f8932022eddc6466980c | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Mon May 18 03:02:31 2009 +0400 |
committer | John W. Linville <linville@tuxdriver.com> | Wed May 20 14:46:27 2009 -0400 |
tree | 44319367ae3caf7059374242c3b79bc63a05d10e | |
parent | 4eaf16bc1f92bf772f6d42860e86b399d00b7b94 [diff] |
p54spi: fix incorrect access sequence to DMA_WRITE_CTRL in p54spi_spi_write_dma Host is not allowed to modify DMA_WRITE_CTRL register if bit HOST_ALLOWED in it is not set. Wait for HOST_ALLOWED first. Also get rid of timeout in p54spi_wait_bit as it's been playing a role of workaround for such an incorrect register access. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>