usb: dwc3: core: introduce dwc3_core_is_valid()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 14 Oct 2016 13:19:01 +0000 (16:19 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:34 +0000 (10:38 +0200)
commit0759956f8ae7e230e2349e02045484bb5657b836
tree0935779d88e437db07b9da398c9ee3e890306bcc
parent0bb39ca1ad8758f109cd2e7b30a5316f3097346a
usb: dwc3: core: introduce dwc3_core_is_valid()

This little helper will be used to make sure we're
dealing with a valid Synopsys DWC3 or DWC3.1 core.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/core.c