Re: [PATCH 7/9] usb: common: add API to get usb otg features from device tree

2015-05-27 Thread Peter Chen
On Wed, May 27, 2015 at 07:50:07PM +0800, Li Jun wrote: > Check property of usb hardware to get if SRP, HNP and ADP is supported. > > Signed-off-by: Li Jun > --- > drivers/usb/common/common.c | 45 > + > include/linux/usb/of.h | 15 ++

[PATCH 7/9] usb: common: add API to get usb otg features from device tree

2015-05-27 Thread Li Jun
Check property of usb hardware to get if SRP, HNP and ADP is supported. Signed-off-by: Li Jun --- drivers/usb/common/common.c | 45 + include/linux/usb/of.h | 15 +++ 2 files changed, 60 insertions(+) diff --git a/drivers/usb/common/c