[1/2] v4l2-tracer: stop stringifying v4l2_input "tuner"
Commit Message
The "tuner" field in struct v4l2_input is actually the tuner index used by
capture drivers that have more than one tuner. The comment in the UAPI
indicated that this field was an enum v4l2_tuner_type and so the
v4l2-tracer was (unsuccessfully) attempting to convert this field to a
string. Stop trying to stringify the "tuner" field and just let it be an
integer.
Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
---
utils/v4l2-tracer/v4l2-tracer-gen.pl | 4 ----
1 file changed, 4 deletions(-)
@@ -192,10 +192,6 @@ sub get_val_def_name {
}
return "nullptr"; # will print as hex string
}
- # special treatment for struct v4l2_input which has members named both "tuner" and "type"
- if (($member eq "tuner") && ($struct_name eq "v4l2_input")) {
- return "v4l2_tuner_type_val_def";
- }
if ($member =~ /pixelformat/) {
return "v4l2_pix_fmt_val_def";
}