diff options
author | Ingo Molnar <mingo@kernel.org> | 2014-08-22 04:04:15 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-08-22 04:04:15 -0400 |
commit | 80b304fd00e8b667775ff791121b61ecd7cd0c03 (patch) | |
tree | b4f2ec59fe062c43343ee4c2f10a6bcd0e4dcd1b /Documentation/video4linux/v4l2-framework.txt | |
parent | fb21b84e7f809ef04b1e5aed5d463cf0d4866638 (diff) | |
parent | 6a7519e81321343165f89abb8b616df186d3e57a (diff) |
Merge tag 'efi-urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi into x86/urgent
Pull EFI fixes from Matt Fleming:
* WARN_ON(!spin_is_locked()) always triggers on non-SMP machines.
Swap it for the more canonical lockdep_assert_held() which always
does the right thing - Guenter Roeck
* Assign the correct value to efi.runtime_version on arm64 so that all
the runtime services can be invoked - Semen Protsenko
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation/video4linux/v4l2-framework.txt')
-rw-r--r-- | Documentation/video4linux/v4l2-framework.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Documentation/video4linux/v4l2-framework.txt b/Documentation/video4linux/v4l2-framework.txt index 667a43361706..a11dff07ef71 100644 --- a/Documentation/video4linux/v4l2-framework.txt +++ b/Documentation/video4linux/v4l2-framework.txt | |||
@@ -675,11 +675,6 @@ You should also set these fields: | |||
675 | video_device is initialized you *do* know which parent PCI device to use and | 675 | video_device is initialized you *do* know which parent PCI device to use and |
676 | so you set dev_device to the correct PCI device. | 676 | so you set dev_device to the correct PCI device. |
677 | 677 | ||
678 | - flags: optional. Set to V4L2_FL_USE_FH_PRIO if you want to let the framework | ||
679 | handle the VIDIOC_G/S_PRIORITY ioctls. This requires that you use struct | ||
680 | v4l2_fh. Eventually this flag will disappear once all drivers use the core | ||
681 | priority handling. But for now it has to be set explicitly. | ||
682 | |||
683 | If you use v4l2_ioctl_ops, then you should set .unlocked_ioctl to video_ioctl2 | 678 | If you use v4l2_ioctl_ops, then you should set .unlocked_ioctl to video_ioctl2 |
684 | in your v4l2_file_operations struct. | 679 | in your v4l2_file_operations struct. |
685 | 680 | ||
@@ -909,8 +904,7 @@ struct v4l2_fh | |||
909 | 904 | ||
910 | struct v4l2_fh provides a way to easily keep file handle specific data | 905 | struct v4l2_fh provides a way to easily keep file handle specific data |
911 | that is used by the V4L2 framework. New drivers must use struct v4l2_fh | 906 | that is used by the V4L2 framework. New drivers must use struct v4l2_fh |
912 | since it is also used to implement priority handling (VIDIOC_G/S_PRIORITY) | 907 | since it is also used to implement priority handling (VIDIOC_G/S_PRIORITY). |
913 | if the video_device flag V4L2_FL_USE_FH_PRIO is also set. | ||
914 | 908 | ||
915 | The users of v4l2_fh (in the V4L2 framework, not the driver) know | 909 | The users of v4l2_fh (in the V4L2 framework, not the driver) know |
916 | whether a driver uses v4l2_fh as its file->private_data pointer by | 910 | whether a driver uses v4l2_fh as its file->private_data pointer by |