提交 66108e3c 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

[media] v4l2-framework.txt: debug -> dev_debug

The debug attribute was renamed to dev_debug. Update the doc accordingly.
Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
Acked-by: NSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 8b97e0e3
...@@ -793,8 +793,8 @@ video_register_device_no_warn() instead. ...@@ -793,8 +793,8 @@ video_register_device_no_warn() instead.
Whenever a device node is created some attributes are also created for you. Whenever a device node is created some attributes are also created for you.
If you look in /sys/class/video4linux you see the devices. Go into e.g. If you look in /sys/class/video4linux you see the devices. Go into e.g.
video0 and you will see 'name', 'debug' and 'index' attributes. The 'name' video0 and you will see 'name', 'dev_debug' and 'index' attributes. The 'name'
attribute is the 'name' field of the video_device struct. The 'debug' attribute attribute is the 'name' field of the video_device struct. The 'dev_debug' attribute
can be used to enable core debugging. See the next section for more detailed can be used to enable core debugging. See the next section for more detailed
information on this. information on this.
...@@ -821,7 +821,7 @@ unregister the device if the registration failed. ...@@ -821,7 +821,7 @@ unregister the device if the registration failed.
video device debugging video device debugging
---------------------- ----------------------
The 'debug' attribute that is created for each video, vbi, radio or swradio The 'dev_debug' attribute that is created for each video, vbi, radio or swradio
device in /sys/class/video4linux/<devX>/ allows you to enable logging of device in /sys/class/video4linux/<devX>/ allows you to enable logging of
file operations. file operations.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册