Disable power-of-2 alignment of isochronous I/O buffers

This can save some memory.  (The library user can always round max
packet size himself if it's needed for some reason.)

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
Igor Kuzmin 2012-06-22 14:48:01 +04:00 committed by Stefan Richter
parent 82b51be678
commit 662d6534c7
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ iso_init(fw_handle_t handle, int type,
handle->iso.xmit_handler = xmit_handler;
handle->iso.recv_handler = recv_handler;
handle->iso.buf_packets = buf_packets;
handle->iso.max_packet_size = round_to_power_of_two(max_packet_size);
handle->iso.max_packet_size = max_packet_size;
handle->iso.packet_phase = 0;
handle->iso.packet_count = 0;
handle->iso.packets =