Ignore:
Timestamp:
Sep 18, 2022, 7:39:50 AM (3 years ago)
Author:
Paul Smedley
Message:

Initial commit of 5.17.15

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-exp/include/linux/dma-mapping.h

    r736 r737  
    135135}
    136136#define pci_set_consistent_dma_mask(p,x) pci_set_dma_mask(p,x)
     137
     138static inline int dma_set_max_seg_size(struct device *dev, unsigned int size)
     139{
     140        if (dev->dma_parms) {
     141                dev->dma_parms->max_segment_size = size;
     142                return 0;
     143        }
     144        return -EIO;
     145}
    137146#endif
Note: See TracChangeset for help on using the changeset viewer.