diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-03-21 03:24:22 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-03-21 04:26:45 -0400 |
commit | 87e332d56b2c7dc6733f690c9069f4fe75f21c9d (patch) | |
tree | fc83506527f804eb1522e850b121598cefc5e0a1 /drivers/dma-buf | |
parent | 3c66f4aa7f3cb6579dfe977c05fcb5db25b41cd7 (diff) |
dma-buf: Update docs for SYNC ioctl
Just a bit of wording polish plus mentioning that it can fail and must
be restarted.
Requested by Sumit.
v2: Fix them typos (Hans).
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tiago Vignatti <tiago.vignatti@intel.com>
Cc: Stéphane Marchesin <marcheu@chromium.org>
Cc: David Herrmann <dh.herrmann@gmail.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Daniel Vetter <daniel.vetter@intel.com>
CC: linux-media@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linaro-mm-sig@lists.linaro.org
Cc: intel-gfx@lists.freedesktop.org
Cc: devel@driverdev.osuosl.org
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'drivers/dma-buf')
-rw-r--r-- | drivers/dma-buf/dma-buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c index 774a60f4309a..4a2c07ee6677 100644 --- a/drivers/dma-buf/dma-buf.c +++ b/drivers/dma-buf/dma-buf.c | |||
@@ -612,7 +612,7 @@ EXPORT_SYMBOL_GPL(dma_buf_begin_cpu_access); | |||
612 | * @dmabuf: [in] buffer to complete cpu access for. | 612 | * @dmabuf: [in] buffer to complete cpu access for. |
613 | * @direction: [in] length of range for cpu access. | 613 | * @direction: [in] length of range for cpu access. |
614 | * | 614 | * |
615 | * This call must always succeed. | 615 | * Can return negative error values, returns 0 on success. |
616 | */ | 616 | */ |
617 | int dma_buf_end_cpu_access(struct dma_buf *dmabuf, | 617 | int dma_buf_end_cpu_access(struct dma_buf *dmabuf, |
618 | enum dma_data_direction direction) | 618 | enum dma_data_direction direction) |