summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorJerzy Kasenberg <[email protected]>2020-08-25 13:15:43 +0200
committerJerzy Kasenberg <[email protected]>2020-08-25 14:35:05 +0200
commita4c096be377dd57554a67db92dd3d3167475c142 (patch)
tree85bb6bd2ba0f9652b4700301314a3009097accfb /src/device
parentc61e9fb96def7b77b4001374b362141a29dcba5b (diff)
audio_device: Fix FIFO element size discrepancies
Buffer for TX and RX FIFO was not taking into account size of element leading to out of bound access. audio_tx_done_type_I_pcm_ff_cb() reported copied bytes was not returning correct value number if channels was omitted in computation. Transfer size calculation uses simpler arithmetic.
Diffstat (limited to 'src/device')
0 files changed, 0 insertions, 0 deletions