diff options
author | Alan Cox <alan@linux.intel.com> | 2009-06-05 12:56:18 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-05 17:05:23 +0200 |
commit | e9e10124e269a39de089c5e0d9936fae2ff889b2 (patch) | |
tree | ca2327be762018a8fe0a5c1a45a37478a000d931 /drivers/gpu | |
parent | ptrace: revert "ptrace_detach: the wrong wakeup breaks the ERESTARTxxx logic" (diff) | |
download | linux-e9e10124e269a39de089c5e0d9936fae2ff889b2.tar.xz linux-e9e10124e269a39de089c5e0d9936fae2ff889b2.zip |
ivtv: Fix PCI DMA direction
The ivtv stream buffers may be for receive or for send but the attached
sg handle is always destined cpu->device. We flush it correctly but the
allocation is wrongly done with the same type as the buffers.
See bug: http://bugzilla.kernel.org/show_bug.cgi?id=13385
(Note this doesn't close the bug - it fixes the ivtv part and in turn
the logging next shows up some rather alarming DMA sg list warnings in
libata)
Signed-off-by: Alan Cox <alan@linux.intel.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions