Commit 22331a5e authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab

[media] DocBook: media: struct v4l2_capability card field is a UTF-8 string

The struct v4l2_capability card field stores the device name. That name
can be hardcoded in drivers, or be retrieved directly from the device.
The later is very common with USB devices. As several devices already
report names that include non-ASCII characters, update the field
description to use UTF-8.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a46edeb0
...@@ -76,7 +76,7 @@ make sure the strings are properly NUL-terminated.</para></entry> ...@@ -76,7 +76,7 @@ make sure the strings are properly NUL-terminated.</para></entry>
<row> <row>
<entry>__u8</entry> <entry>__u8</entry>
<entry><structfield>card</structfield>[32]</entry> <entry><structfield>card</structfield>[32]</entry>
<entry>Name of the device, a NUL-terminated ASCII string. <entry>Name of the device, a NUL-terminated UTF-8 string.
For example: "Yoyodyne TV/FM". One driver may support different brands For example: "Yoyodyne TV/FM". One driver may support different brands
or models of video hardware. This information is intended for users, or models of video hardware. This information is intended for users,
for example in a menu of available devices. Since multiple TV cards of for example in a menu of available devices. Since multiple TV cards of
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment