commit | c71f20ee76342376e3c4c67cdbe7421d8c4e886e | [log] [tgz] |
---|---|---|
author | Phil Turnbull <phil.turnbull@oracle.com> | Fri Jul 29 09:43:56 2016 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Aug 21 17:07:19 2016 +0200 |
tree | d035847abb1eb9a1a4b766866a0fa4a5b3a63ddd | |
parent | 5ca05345c56cb979e1a25ab6146437002f95cac8 [diff] |
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: 14b93bb6bbf0 ("staging: comedi: adv_pci_dio: separate out PCI-1760 support") Signed-off-by: Phil Turnbull <phil.turnbull@oracle.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>