summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_h4.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2019-12-11 12:56:15 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-12-29 16:20:09 +0100
commit4538c185680996d7328beac629dbdb7dd3f8f34e (patch)
treee186ecfcd0fd73d506d778549fd8413a706072b9 /drivers/bluetooth/hci_h4.c
parentbindings: iio: pressure: Add documentation for dlh driver (diff)
downloadlinux-4538c185680996d7328beac629dbdb7dd3f8f34e.tar.xz
linux-4538c185680996d7328beac629dbdb7dd3f8f34e.zip
iio: buffer-dmaengine: Report buffer length requirements
The dmaengine buffer has some length alignment requirements that can differ from platform to platform. If the length alignment requirements are not met unexpected behavior like dropping of samples can occur. Currently these requirements are not reported and applications need to know the requirements of the platform by some out-of-band means. Add a new buffer attribute that reports the length alignment requirements called `length_align_bytes`. The reported length alignment is in bytes that means the buffer length alignment in sample sets depends on the number of enabled channels and the bytes per channel. Applications using this attribute to determine the buffer size requirements need to consider this. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/bluetooth/hci_h4.c')
0 files changed, 0 insertions, 0 deletions