Commit c71f20ee authored by Phil Turnbull's avatar Phil Turnbull Committed by Greg Kroah-Hartman
Browse files

staging: comedi: adv_pci1760: Do not return EINVAL for CMDF_ROUND_DOWN.

The CMDF_ROUND_DOWN case falls through and so always returns -EINVAL.

Fixes: 14b93bb6

 ("staging: comedi: adv_pci_dio: separate out PCI-1760 support")
Signed-off-by: default avatarPhil Turnbull <phil.turnbull@oracle.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5ca05345
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment