Skip to content
Commit 75191f75 authored by Marek Vasut's avatar Marek Vasut Committed by Tom Rini
Browse files

blk: Add bounce buffer support to read/write operations



Some devices have limited DMA capabilities and require that the
buffers passed to them fit specific properties. Add new optional
callback which can be used at driver level to indicate whether a
buffer alignment is suitable for the device DMA or not, and
trigger use of generic bounce buffer implementation to help use
of unsuitable buffers at the expense of performance degradation.

Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@mailbox.org>
parent e2b5cc60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment