summaryrefslogtreecommitdiff
path: root/nuttx/drivers/input/tsc2007.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/drivers/input/tsc2007.c')
-rw-r--r--nuttx/drivers/input/tsc2007.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/input/tsc2007.c b/nuttx/drivers/input/tsc2007.c
index 3afe926fe..52f8652a7 100644
--- a/nuttx/drivers/input/tsc2007.c
+++ b/nuttx/drivers/input/tsc2007.c
@@ -257,13 +257,13 @@ static void tsc2007_notify(FAR struct tsc2007_dev_s *priv)
if (priv->nwaiters > 0)
{
/* After posting this semaphore, we need to exit because the TSC2007
- * is no longer avaialable.
+ * is no longer available.
*/
sem_post(&priv->waitsem);
}
- /* If there are threads waiting on poll() for TSC2007 data to become availabe,
+ /* If there are threads waiting on poll() for TSC2007 data to become available,
* then wake them up now. NOTE: we wake up all waiting threads because we
* do not know that they are going to do. If they all try to read the data,
* then some make end up blocking after all.