MLK-10102-9 usb: chipidea: host: add ci_hdrc_host_has_device API
authorLi Jun <jun.li@freescale.com>
Thu, 15 Jan 2015 13:26:05 +0000 (21:26 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:46:59 +0000 (14:46 -0500)
commit4521bf77afa586578a2fe32b387ebd2f94fae522
treef76204d7d85cd093a0a673c80bc3b02175be3d73
parentfd34558b5f1fa711f2daccc36c1dcd000ef28525
MLK-10102-9 usb: chipidea: host: add ci_hdrc_host_has_device API

This patch adds a new API ci_hdrc_host_has_device to check if there
is usb device connected on host port.

Signed-off-by: Li Jun <b47624@freescale.com>
(cherry picked from commit fd68eb8ef9cdac1ca861ccbc3d01d874123bf52a)
drivers/usb/chipidea/host.c
drivers/usb/chipidea/host.h