commit | b980e21c30e504e793a2c10fee6a8eec5a8c36c5 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | Mon Aug 14 01:50:00 2023 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue Aug 22 15:17:53 2023 -0400 |
tree | f228a79d79aa17bc67221bb341c3c92a869b8f98 | |
parent | 847e24fa5a67844a4b2032ffc752acce776ae23d [diff] |
scsi: Add buffer_aligned check pass-through 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. This is a pass-through callback from block uclass to drivers. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>