Fix last argument to pthread_cond_timedwait

pthread_cond_timedwait() last argument is const struct timespec *
We are mistakenly passing const struct timespec ** which leads to
a failure.
Merge pull request #99 from foolab/cond_timedwait

Fix last argument to pthread_cond_timedwait
Don't lock the mutex while posting buffer.

Also, it's sometimes OK to take the front buffer but avoid if possible.
Only on < 4.2

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #100 from stskeeps/performance_optimization_mutex_fbdev

Don't lock the mutex while posting buffer.
Bindings for libnfc-nxp / libnfc_ndef-nxp

Generated from Android libnfc-nxp headers at
https://android.googlesource.com/platform/external/libnfc-nxp/

Generator scripts available at
https://github.com/thp/libhybris-nfc-wrapper-generator

Signed-off-by: Thomas Perl <thomas.perl@jollamobile.com>
libnfc*-nxp: Use extracted headers when building

Signed-off-by: Thomas Perl <thomas.perl@jollamobile.com>
libnfc: Rename "-nxp" to "_nxp" to make autoconf happy

Signed-off-by: Thomas Perl <thomas.perl@jollamobile.com>
Auto-generate hybris/internal/binding.h via Python

We might end up needing wrapper macros with more arguments, so
instead of writing them by hand, we can also just generate them.

Signed-off-by: Thomas Perl <thomas.perl@jollamobile.com>
Fix building of libnfc_nxp and libnfc_ndef_nxp

Signed-off-by: Thomas Perl <thomas.perl@jollamobile.com>
Merge pull request #91 from thp/libnfc

Bindings for libnfc-nxp / libnfc_ndef-nxp