nuttx/drivers/input
Dmitriy Linikov 61372551e9 Merged in hardlulz/modem-3.0-nuttx/fix-stmpe811-gpio (pull request #523)
Fix GPIO operation of STMPE811 driver.

Fixed issues:
1. STMPE811_GPIO_DIR was defined for register name
   and later was redefined to be the pin direction mask
   for `stmpe811_gpioconfig`

   I decided to change register name to be STMPE811_GPIO_DIR_REG,
   and keep pin direction mask STMPE811_GPIO_DIR, so that any
   external code that already use this driver will be unchanged.

2. The STMPE811 register GPIO_DIR uses bit value 1 for output
   and 0 for input, but `stmpe811_gpioconfig` set the opposite.

3. The call to `stmpe811_gpiowrite` from inside of `stmpe811_gpioconfig`
   leaded to deadlock.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-10-31 16:54:28 +00:00
..
ads7843e.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
ads7843e.h
ajoystick.c Squashed commit of the following: 2017-10-07 10:57:09 -06:00
button_lower.c
button_upper.c Squashed commit of the following: 2017-10-07 10:57:09 -06:00
cypress_mbr3108.c Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable). All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep(). 2017-10-06 10:15:01 -06:00
djoystick.c Squashed commit of the following: 2017-10-07 10:57:09 -06:00
Kconfig
Make.defs
max11802.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
max11802.h
mxt.c Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable). All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep(). 2017-10-06 10:15:01 -06:00
mxt.h
stmpe811.h
stmpe811_adc.c Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable). All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep(). 2017-10-06 10:15:01 -06:00
stmpe811_base.c Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable). All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep(). 2017-10-06 10:15:01 -06:00
stmpe811_gpio.c Merged in hardlulz/modem-3.0-nuttx/fix-stmpe811-gpio (pull request #523) 2017-10-31 16:54:28 +00:00
stmpe811_temp.c
stmpe811_tsc.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
tsc2007.c Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable). All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep(). 2017-10-06 10:15:01 -06:00
tsc2007.h