]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: storage: refactor endpoint retrieval
authorJohan Hovold <johan@kernel.org>
Fri, 17 Mar 2017 10:35:49 +0000 (11:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 12:54:08 +0000 (13:54 +0100)
commit80070a408ca34b2fe7aed30a3fa38dd19ece8197
treeca1c7debf57205e4b1224aa81130be4fe133118e
parentf8d8464bfc90e058fe68dee02121d46f661f68cd
USB: storage: refactor endpoint retrieval

Use the new endpoint helpers to lookup the required bulk-in and bulk-out
endpoints and the (typically) optional interrupt-in endpoint.

Cc: usb-storage@lists.one-eyed-alien.net
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/usb.c