diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-03-30 17:15:05 +0900 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-04-25 14:18:38 +0200 |
commit | 477544c62a84d3bacd9f90ba75ffc16c04d78071 (patch) | |
tree | e9a1cdeaaa0862bd8d64483b14c0883357766a48 /net/lapb/lapb_timer.c | |
parent | 3deb9979c7319bc7846d1aac528a9db85162960a (diff) |
mtd: nand: allow drivers to request minimum alignment for passed buffer
In some cases, nand_do_{read,write}_ops is passed with unaligned
ops->datbuf. Drivers using DMA will be unhappy about unaligned
buffer.
The new struct member, buf_align, represents the minimum alignment
the driver require for the buffer. If the buffer passed from the
upper MTD layer does not have enough alignment, nand_do_*_ops will
use bufpoi.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions