Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[cascardo/linux.git] / tools / iio / lsiio.c
index 3d650e6..ab0f5cf 100644 (file)
@@ -51,7 +51,8 @@ static int dump_channels(const char *dev_dir_name)
 
        while (ent = readdir(dp), ent)
                if (check_prefix(ent->d_name, "in_") &&
-                   check_postfix(ent->d_name, "_raw"))
+                  (check_postfix(ent->d_name, "_raw") ||
+                   check_postfix(ent->d_name, "_input")))
                        printf("   %-10s\n", ent->d_name);
 
        return (closedir(dp) == -1) ? -errno : 0;