Skip to contentSkip to conversation

v4l2-framework.txt: debug -> dev_debug

PATCH In review Hans Verkuil 2 participants 2 messages Mar 8, 2015 – Mar 9, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 v4l2-framework.txt: debug -> dev_debug

The debug attribute was renamed to dev_debug. Update the doc accordingly.

---
 Documentation/video4linux/v4l2-framework.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/video4linux/v4l2-framework.txt +3 -3
index f586e29..59e619f 100644
@@ -793,8 +793,8 @@ video_register_device_no_warn() instead.
 
 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.
-video0 and you will see 'name', 'debug' and 'index' attributes. The 'name'
-attribute is the 'name' field of the video_device struct. The 'debug' attribute
+video0 and you will see 'name', 'dev_debug' and 'index' attributes. The 'name'
+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
 information on this.
 
@@ -821,7 +821,7 @@ unregister the device if the registration failed.
 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
 file operations.
 
Signature · 1 line
2.1.4
Acked-by on v1 1/1
#1 lore raw
Quoted 23 lines · Hans Verkuil

The debug attribute was renamed to dev_debug. Update the doc accordingly.

---
 Documentation/video4linux/v4l2-framework.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/video4linux/v4l2-framework.txt +2 -2
index f586e29..59e619f 100644
@@ -793,8 +793,8 @@ video_register_device_no_warn() instead.
 
 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.
-video0 and you will see 'name', 'debug' and 'index' attributes. The 'name'
-attribute is the 'name' field of the video_device struct. The 'debug' attribute
+video0 and you will see 'name', 'dev_debug' and 'index' attributes. The 'name'
+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
 information on this.
 

Documentation/video4linux/v4l2-framework.txt unregister the device if the registration failed. · line 826

Quoted 7 lines
Documentation/video4linux/v4l2-framework.txt +1 -1
@@ -821,7 +821,7 @@ unregister the device if the registration failed.
 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
 file operations.
Signature · 2 lines
Sakari Ailus
e-mail: [email protected]	XMPP: [email protected]