Rework usb gadget validataion 33/229133/7
authorINSUN PYO <insun.pyo@samsung.com>
Mon, 30 Mar 2020 04:07:07 +0000 (13:07 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Mon, 6 Apr 2020 11:32:27 +0000 (11:32 +0000)
commit3bb736815986e6433b2a94555c4ceb64b2abea7a
tree4c105ba7f33711dfb5496c2a9a06390775f4ab8b
parente1bcac1f94bbaa0b7cfb66a63776437863b4a7b7
Rework usb gadget validataion

On SLP : check if /sys/class/usb_mode/usb0/f_[sdb|mtp|acm|rndis|diag|dm] exists
On CFS : check if /usr/lib/systemd/system/[sdb|mpt].service exists or the result of usbg_lookup_function_type()

Change-Id: I2cc8acc3553a8734484d50cfc0ede7a963a363b0
hw/usb_cfs_client_common.c
hw/usb_client_common.c