summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2016-04-26 12:03:08 +0300
committerTejun Heo <tj@kernel.org>2016-05-10 12:29:18 -0400
commitae4c3485fa861af51336e066e1ba42b92af03627 (patch)
tree4b060815783d2c9d9a4492cf2413c9cd9304738a /Documentation
parente1c1bee34f077baf88f78b24d08c0ba1ba506abd (diff)
ata: sata_dwc_460ex: skip dma setup for non-dma commands
Calling dmaengine_prep_slave_sg() for non-dma ATA commands is unnecessary at best and could be harmful if the dma driver reacts badly to this. It also causes this driver to print a bogus error message in these cases. This patch changes sata_dwc_qc_issue() to only do the dma setup for dma commands and also reports an error to libata if if fails. Tested-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions