i2c/sysfs fd read/write: remove warning

The file descriptor variable is considered as not-initialized in
some functions. As we use the -Werror compilation switch, it produces
this message:
error: 'fd' may be used uninitialized in this function

Correct this by giving the value -ENODEV to initilize fd with a value.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
autotools: remove the need for non-standard m4 macro support

m4 is used even without this directive and it can harm x-compilation.
So remove it.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Fix pointer handling in sighandler code

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Update TCP socket bridge API

D10188 Socket Bridge Client API Revision 0.1

Add support for MSGCFG command to enable/disable messages.
Add support for RST command.
Update messages output to use new "MSG" string.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Implement support for HIDRAW devices

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Add bootloader version query command

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Fix compile error in sysinfo.c

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Merge pull request #3 from noglitch/master

some fixes to build obp-utils on buildroot
Minor formatting fix for github

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Improve documentation of offset parameter

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Remove minSdkVersion from AndroidManifest

This allows building of mxt-app against different ABI versions.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Fix typo in README

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Reindent bridge.c

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Add new objects T95-T99, T112, T114-T116

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Add prototype object range

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Add packed attribute to raw info block structures

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Filter invalid messages via dmesg

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Use portable printf specifier for size_t

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Fix dmesg message retrieval bug

A previous commit had removed a for loop so only the first message was ever
output over bridge protocol.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Improve dmesg retrieval performance by scanning more often