Add support for FunctionFS-based function 50/171850/3
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Fri, 2 Mar 2018 20:40:56 +0000 (21:40 +0100)
committerINSUN PYO <insun.pyo@samsung.com>
Wed, 14 Mar 2018 00:01:15 +0000 (00:01 +0000)
commit766ee8120d710f3661462a920d3b49277ceab5ce
treeaa0f4f9c6fe23543f9bc0d042cd7f9081ef77535
parentbef85e817362fb66e43757dd04db9c05e7bfbc9f
Add support for FunctionFS-based function

Both mtp-responder and sdbd have FunctionFS backend now what
allows to use them in ConfigFS implementation of HAL.
We use systemd socke activation with special socket type
which starts the service when needed. There is an assumption
that each of those services provides a suitable .socket file.

Change-Id: Ib073ac10f6d12bb75f20e4b9f3961bcdbd21520c
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
hw/usb_client/usb_client_configfs.c