linux-stable/drivers/staging/most/hdm-usb
Andrey Shvetsov f500192890 staging: most: usb: fix calculation of the extra_len
The final size of the buffer used for the streaming transfer consists of
the size for the user payload (buffer_size) and the size for the gaps
needed by the controller (extra_len).

The current implementation of the hdm_configure_channel() corrects the
buffer size down to the next appropriate for the hardware value, that is
the whole number of frames, but uses the old unaligned value to
calculate the extra_len.

Current patch fixes the described problem.

Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-08 12:41:40 +02:00
..
hdm_usb.c staging: most: usb: fix calculation of the extra_len 2017-04-08 12:41:40 +02:00
Kconfig staging: most: fix HDM_USB dependencies and build errors 2015-09-13 09:24:44 -07:00
Makefile