|
@@ -2276,7 +2276,7 @@ static int sep_construct_dma_tables_from_lli(
|
|
table_data_size);
|
|
table_data_size);
|
|
|
|
|
|
/* If info entry is null - this is the first table built */
|
|
/* If info entry is null - this is the first table built */
|
|
- if (info_in_entry_ptr == NULL) {
|
|
|
|
|
|
+ if (info_in_entry_ptr == NULL || info_out_entry_ptr == NULL) {
|
|
/* Set the output parameters to physical addresses */
|
|
/* Set the output parameters to physical addresses */
|
|
*lli_table_in_ptr =
|
|
*lli_table_in_ptr =
|
|
sep_shared_area_virt_to_bus(sep, dma_in_lli_table_ptr);
|
|
sep_shared_area_virt_to_bus(sep, dma_in_lli_table_ptr);
|