diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2015-07-31 16:00:51 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-08-04 12:27:44 -0500 |
commit | 5dbe135a153837ce9367bdfacf7aabfc6fb76f4b (patch) | |
tree | 3eaec78bb7777cf991054934e933f9f642989fef /drivers/usb/Kconfig | |
parent | b58713d53a8f41d57b24c93de0b1c7e9550ba70f (diff) |
usb: gadget: epautoconf: remove ep and desc configuration from ep_matches()
As function ep_matches() is used to match endpoint with usb descriptor it's
highly unintuitive that it modifies endpoint and descriptor structures fields.
This patch moves code configuring ep and desc from ep_matches() to
usb_ep_autoconfig_ss(), so now function ep_matches() does nothing more than
its name suggests.
[ balbi@ti.com : fix build warning ]
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/Kconfig')
0 files changed, 0 insertions, 0 deletions