diff options
| author | Jerzy Kasenberg <[email protected]> | 2020-08-25 13:15:43 +0200 |
|---|---|---|
| committer | Jerzy Kasenberg <[email protected]> | 2020-08-25 14:35:05 +0200 |
| commit | a4c096be377dd57554a67db92dd3d3167475c142 (patch) | |
| tree | 85bb6bd2ba0f9652b4700301314a3009097accfb /src/device | |
| parent | c61e9fb96def7b77b4001374b362141a29dcba5b (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
