libusbhost: Fix issue of multiple inotify event at same time.

libusbhost can handle multiple inotify events at same time on Kit kat.
In original implementation, the function-level ret is assigned with
length of read and used for while loop.
if want to add a new watch for subdirectory,inotify_add_watch will
update the function-level ret with watch descriptor.
It impact on while loop to do exit.

Add local result to avoid it.

Change-Id: I101041ccfd54eaac14969a45e90ab2e49bdff578
Signed-off-by: Bo Huang <bo.b.huang@intel.com>
Pass -a command-line option to ADB server.

ADB is used to provide a bridge between (Gfx Debug) debugger
and a GLink server running on an Android target.

For this to work, ADB must be able to accept TCP/IP connections from
any machine, not just the local host.  In JellyBean, it was necessary
to patch the ADB code to get this to work, but in KitKat there is a
new "-a" command-line option to ADB which allows this.  However, when
ADB spawns a new instance of itself as a server process, it does not
pass on the "-a" option, so the server will not accept connections
from other machines.

This change fixes this problem by passing the "-a" option to the
server process on its command line.

Change-Id: If6742d313fe29792487a1d82ad6ce2a39321ce9f
Author: rstuckey <richard.stuckey@intel.com>
Signed-off-by: Bo Huang <bo.b.huang@intel.com>
Signed-off-by: Zhuang,Jin Can <jin.can.zhuang@intel.com>