projects
/
platform
/
adaptation
/
samsung_exynos
/
device-manager-plugin-odroid.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30ba310
)
ffs: Do not check for slp-gadget in ffs backend
12/172912/5
author
Paweł Szewczyk
<p.szewczyk@samsung.com>
Fri, 16 Mar 2018 16:57:22 +0000
(17:57 +0100)
committer
Paweł Szewczyk
<p.szewczyk@samsung.com>
Thu, 22 Mar 2018 10:19:24 +0000
(11:19 +0100)
Change-Id: I1d08c7b778d906f151cec3524754f513d7386898
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
hw/usb_cfs_client/usb_cfs_client.c
patch
|
blob
|
history
diff --git
a/hw/usb_cfs_client/usb_cfs_client.c
b/hw/usb_cfs_client/usb_cfs_client.c
index
0e76f3b
..
ddead5a
100644
(file)
--- 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;