summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Szewczyk <p.szewczyk@samsung.com>2018-03-16 17:57:22 +0100
committerPaweł Szewczyk <p.szewczyk@samsung.com>2018-03-22 11:19:24 +0100
commit40463783863cbec0b7a16b18caddd5c367286079 (patch)
tree11a4d6208893cc8e3c13251abe585d902488a34a
parent30ba310824bf3467ffb92f6a13df2c6cf7d0b6ed (diff)
downloaddevice-manager-plugin-odroid-40463783863cbec0b7a16b18caddd5c367286079.tar.gz
device-manager-plugin-odroid-40463783863cbec0b7a16b18caddd5c367286079.tar.bz2
device-manager-plugin-odroid-40463783863cbec0b7a16b18caddd5c367286079.zip
ffs: Do not check for slp-gadget in ffs backend
Change-Id: I1d08c7b778d906f151cec3524754f513d7386898 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
-rw-r--r--hw/usb_cfs_client/usb_cfs_client.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/usb_cfs_client/usb_cfs_client.c b/hw/usb_cfs_client/usb_cfs_client.c
index 0e76f3b..ddead5a 100644
--- a/hw/usb_cfs_client/usb_cfs_client.c
+++ b/hw/usb_cfs_client/usb_cfs_client.c
@@ -966,10 +966,6 @@ static int cfs_gadget_open(struct hw_info *info,
if (!info || !common)
return -EINVAL;
- /* used exclusively with slp usb_client*/
- if (!access("/sys/class/usb_mode/usb0/enable", F_OK))
- return -ENOENT;
-
cfs_client = zalloc(sizeof(*cfs_client));
if (!cfs_client)
return -ENOMEM;