diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-04-19 18:55:16 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:46 -0800 |
commit | 36365930a6035e18dc3ec07d401d73e7730af8cf (patch) | |
tree | 5d1c2e3653c3f2edce464328fdf03eafaaffd476 /mpm/lib/lmk04828 | |
parent | 0cdf67ad33628af28cf92ef4ad7eaa63c712b8b5 (diff) | |
download | uhd-36365930a6035e18dc3ec07d401d73e7730af8cf.tar.gz uhd-36365930a6035e18dc3ec07d401d73e7730af8cf.tar.bz2 uhd-36365930a6035e18dc3ec07d401d73e7730af8cf.zip |
mpm: Fixed a plethora of SPI-related issues
Diffstat (limited to 'mpm/lib/lmk04828')
-rw-r--r-- | mpm/lib/lmk04828/lmk04828_spi_iface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/lib/lmk04828/lmk04828_spi_iface.cpp b/mpm/lib/lmk04828/lmk04828_spi_iface.cpp index d0ae26063..1251f4535 100644 --- a/mpm/lib/lmk04828/lmk04828_spi_iface.cpp +++ b/mpm/lib/lmk04828/lmk04828_spi_iface.cpp @@ -30,7 +30,7 @@ uint8_t lmk04828_spi_iface::spi_read(uint32_t addr) { // r/w[23] 0[22:21] addr[20:8] data[7:0] = 24 bits uint32_t transaction = 0; transaction |= LMK_SPI_READ_FLAG << LMK_SPI_READ_FLAG_OFFSET; - transaction &= LMK_SPI_RESERVED_FIELD_MASK; + //transaction &= LMK_SPI_RESERVED_FIELD_MASK; transaction |= addr << LMK_SPI_READ_ADDR_OFFSET; uint32_t data = _spi_iface->read_spi(DEFAULT_SLAVE, config, transaction, LMK_SPI_NUM_BITS); |