usb_buffer_unmap_sg — free DMA mapping(s) for a scatterlist
void usb_buffer_unmap_sg
(const struct usb_device * dev, int is_in, struct scatterlist * sg, int n_hw_ents);
device to which the scatterlist will be mapped
mapping transfer direction
the scatterlist to unmap
the positive return value from usb_buffer_map_sg
Reverses the effect of usb_buffer_map_sg.