diff options
author | Mark Meserve <mark.meserve@ni.com> | 2017-10-03 11:17:27 -0500 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:04:01 -0800 |
commit | 9d3081e31556d2bedf8e4671c0082ceac52ac18f (patch) | |
tree | 0ed89aee6d2e6b30ad8b6f7e4244fdd578b856e4 /mpm/lib/mykonos | |
parent | 46456dfd1377fb0f83d45965bd77fcd5fb8db480 (diff) | |
download | uhd-9d3081e31556d2bedf8e4671c0082ceac52ac18f.tar.gz uhd-9d3081e31556d2bedf8e4671c0082ceac52ac18f.tar.bz2 uhd-9d3081e31556d2bedf8e4671c0082ceac52ac18f.zip |
spidev: fix error handling in initialization
- Reversed the incorrect logic in spidev_iface.cpp for error checking
on init_spi
- Error on failed fd creation is now valid and added a null pointer
check for fd
- ioctl read operations are now given non-const references
- Bits per word coercion check is now initialized correctly
- Coercion errors now return -ENOTSUP instead of 2
- Improved logging messages with more information
Diffstat (limited to 'mpm/lib/mykonos')
0 files changed, 0 insertions, 0 deletions