summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/IR/imon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/IR/imon.c b/drivers/media/IR/imon.c
index 27743eb0916d..9ca5e864d16f 100644
--- a/drivers/media/IR/imon.c
+++ b/drivers/media/IR/imon.c
@@ -974,7 +974,7 @@ static void imon_touch_display_timeout(unsigned long data)
{
struct imon_context *ictx = (struct imon_context *)data;
- if (!ictx->display_type == IMON_DISPLAY_TYPE_VGA)
+ if (ictx->display_type != IMON_DISPLAY_TYPE_VGA)
return;
input_report_abs(ictx->touch, ABS_X, ictx->touch_x);
OpenPOWER on IntegriCloud