commit | fa4c86a0dda8dd508f2542d97febe674d2e686cc | [log] [tgz] |
---|---|---|
author | Matthias Kaehlcke <matthias@kaehlcke.net> | Wed Apr 15 22:28:32 2009 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Jun 15 21:44:42 2009 -0700 |
tree | 10dab12ce37ec683e862c8e462e4244ad4bfe75a | |
parent | 9ab1565151dff37a7d7687bfe5cfafb62c7d5e49 [diff] |
USB: gadgetfs: use helper functions to determine endpoint type and direction Use helper functions to determine the type and direction of an endpoint instead of fiddling with bEndpointAddress and bmAttributes Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>