diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2013-05-21 23:07:54 +0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-05-22 08:39:20 +0900 |
commit | df7e131f6359f20ed8f0a37db039c4f6420a18c2 (patch) | |
tree | cc850e7b524bc90c7e17ee881caf3aeccf0bf601 /drivers/nubus | |
parent | e771451c0a831d96a7c14b0ca8a8ec671d98567b (diff) | |
download | talos-op-linux-df7e131f6359f20ed8f0a37db039c4f6420a18c2.tar.gz talos-op-linux-df7e131f6359f20ed8f0a37db039c4f6420a18c2.zip |
sata_rcar: clear STOP bit in bmdma_start() method
Iff bmdma_setup() has to stop a DMA transfer before starting a new
one, then the STOP bit in the ATAPI_CONTROL1 register will remain set
(it's only cleared when setting the START bit to 1) and then
bmdma_start() method will set both START and STOP bits simultaneously
which should abort the transfer being just started. Avoid that by
explicitly clearing the STOP bit in bmdma_start() method (in this case
it will be ignored on write).
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions