summaryrefslogtreecommitdiff
path: root/oui.h
blob: 564e4a1e5c77e750839ed028660b40452a40c7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef OUI_H
#define OUI_H

extern const char *lookup_vendor(unsigned int id);
extern void dissector_init_oui(void);
extern void dissector_cleanup_oui(void);

static inline const char *lookup_vendor_str(unsigned int id)
{
	return lookup_vendor(id) ? : "Unknown";
}

#endif /* OUI_H */
ion>
authorTony Lindgren <tony@atomide.com>2016-05-31 10:05:15 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-01 14:58:59 -0700
commit21f77beece2b6f479648192a87ededd2fb8f1716 (patch)
tree5baa25f6fa776a8bb36b26df4b2be5b24431f9dc
parent517bafffcaf8f882299a74e310082e7b6b2288ad (diff)
usb: musb: Handle cable status better for 2430 glue layer
We may have drivers loaded but no configured gadgets and MUSB may be in host mode. If gadgets are configured during host mode, PM runtime will get confused. Disable PM runtime from gadget state, and do it based on the cable and last state. Note that we may get multiple cable events, so we need to keep track of the power state. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat