OSDN Git Service

usb: dwc3: Add a function to check properties
authorJohn Youn <johnyoun@synopsys.com>
Fri, 11 Nov 2016 01:08:51 +0000 (17:08 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:33 +0000 (13:54 +0200)
commit7ac51a12ea11058e34ba6542671ed6c6aa00d7f7
tree81750b2da85d0fe1a0a286637f556ad7ec7e4a10
parenta987a906e95c4d80a364629d6bcb7cf69d2018e4
usb: dwc3: Add a function to check properties

Add a function to check properties and call it from probe. This will
allow us to add check code without bloating the probe function. This
needs to be done after dwc3_get_properties() and dwc3_core_init() so
that all the properties and hardware configs are available.

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