diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-10-11 16:59:40 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-10-11 17:00:08 +0200 |
commit | 8ed5d192c0beb34c9a679b390c2e4077ae977dc2 (patch) | |
tree | 4719ad90a3a5fd8c47fd108aae9dff61e3ddb904 /include | |
parent | 19b592dae895aad10b84246b0e12caad04e9eb0d (diff) | |
parent | 4f95646c803f6a534e58b1d33afbfdaf3e122328 (diff) |
Merge branch 'topic/usb-ep-check-v2' into for-next
Pulling the EP validity checks in USB audio drivers.
It also adds a new helper in USB core, which was acked by Greg.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index cb9fbd54386e..2b861804fffa 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -1728,6 +1728,8 @@ static inline int usb_urb_dir_out(struct urb *urb) return (urb->transfer_flags & URB_DIR_MASK) == URB_DIR_OUT; } +int usb_urb_ep_type_check(const struct urb *urb); + void *usb_alloc_coherent(struct usb_device *dev, size_t size, gfp_t mem_flags, dma_addr_t *dma); void usb_free_coherent(struct usb_device *dev, size_t size, |