Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • include
  • uapi
  • linux
  • videodev2.h
Find file BlameHistoryPermalink
  • Ezequiel Garcia's avatar
    media: Add V4L2_TYPE_IS_CAPTURE helper · b3ab1c60
    Ezequiel Garcia authored Jun 24, 2020
    
    
    It's all too easy to get confused by the V4L2_TYPE_IS_OUTPUT
    macro, when it's used as !V4L2_TYPE_IS_OUTPUT.
    
    Reduce the risk of confusion with macro to explicitly
    check for the CAPTURE queue type case.
    
    This change does not affect functionality, and it's
    only intended to make the code more readable.
    
    Suggested-by: default avatarNicolas Dufresne <nicolas.dufresne@collabora.com>
    Signed-off-by: default avatarEzequiel Garcia <ezequiel@collabora.com>
    Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
    [hverkuil-cisco@xs4all.nl: checkpatch: align with parenthesis]
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
    b3ab1c60
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7