Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-x86
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe-x86
  • Repository
Switch branch/tag
  • ipipe-x86
  • drivers
  • staging
  • comedi
  • drivers
  • pcmuio.c
Find file BlameHistoryPermalink
  • H Hartley Sweeten's avatar
    staging: comedi: pcmuio: 'stop_count' is always 'stop_arg' · 8e7fed7e
    H Hartley Sweeten authored Sep 09, 2014
    
    
    When the cmd->stop_src == TRIG_COUNT, the 'stop_count' is the cmd->stop_arg.
    For any other stop_src the 'stop_count' is 0, which is also the cmd->stop_arg.
    
    Simplify the 'stop_count' initialization.
    
    Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
    Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    8e7fed7e

Imprint & Privacy Policy