am fade90ac: am 82b0f7ba: Merge "adb: set sys.usb.ffs.ready to signal usb pullup"

* commit 'fade90ac206c02623208bc8341f5164554593bf3':
  adb: set sys.usb.ffs.ready to signal usb pullup
This commit is contained in:
Badhri Jagan Sridharan 2015-04-21 23:03:23 +00:00 committed by Android Git Automerger
commit 9805733d10
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@
#include "sysdeps.h"
#include <cutils/properties.h>
#include <dirent.h>
#include <errno.h>
#include <linux/usb/ch9.h>
@ -362,6 +363,7 @@ static void *usb_ffs_open_thread(void *x)
adb_sleep_ms(1000);
}
property_set("sys.usb.ffs.ready", "1");
D("[ usb_thread - registering device ]\n");
register_usb_transport(usb, 0, 0, 1);