Add support for V4L2_TUNER_CAP_RDS_BLOCK_IO and
V4L2_TUNER_CAP_RDS_CONTROLS tuner/modulator capability
bits.

Signed-off-by: Matti J. Aaltonen <matti.j.aalto...@nokia.com>
---
 utils/v4l2-ctl/v4l2-ctl.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/utils/v4l2-ctl/v4l2-ctl.cpp b/utils/v4l2-ctl/v4l2-ctl.cpp
index ab9a7d1..bd971dc 100644
--- a/utils/v4l2-ctl/v4l2-ctl.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl.cpp
@@ -1266,6 +1266,10 @@ static std::string tcap2s(unsigned cap)
                s += "lang2 ";
        if (cap & V4L2_TUNER_CAP_RDS)
                s += "rds ";
+       if (cap & V4L2_TUNER_CAP_RDS_BLOCK_IO)
+               s += "rds-block-io ";
+       if (cap & V4L2_TUNER_CAP_RDS_CONTROLS)
+               s += "rds-controls ";
        return s;
 }
 
-- 
1.6.1.3

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to