Eli Billauer ba327173ef char: xillybus: Fix internal data structure initialization
A couple of fields in a data structure, which is used by the driver only,
were not initialized properly during the driver's setup.

The primary issue with this bug was that channel->wr_buf_size remained zero,
so calls to dma_sync_single_for_cpu() took place with zero size, and
consequently did nothing.

This had a rather minimal practical impact, because

(a) these calls are NOPs on Intel/AMD platforms, as well as other platforms
    with coherent cache, and
(b) it's extremely rare that any cache line would survive between two reads
    from a given DMA buffer

Hence no significant practical difference is expected with this patch.

Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-05 12:19:39 -08:00
..
2016-02-27 12:33:42 -08:00
2016-03-01 16:38:16 -08:00
2016-02-10 11:35:55 -05:00
2016-02-14 14:25:59 -08:00
2016-02-01 12:27:18 -08:00
2016-02-16 08:04:06 -08:00
2016-02-23 17:17:20 -08:00
2016-02-12 08:10:31 -07:00
2016-02-17 11:50:53 -08:00
2016-02-27 12:33:42 -08:00
2016-02-17 09:24:07 +01:00
2016-02-18 16:24:48 -08:00
2016-02-14 14:25:59 -08:00
2016-02-24 09:04:21 -08:00
2016-02-07 23:17:59 -08:00
2016-02-22 13:57:01 -08:00