From 7ffea3746be77cf926db946987ee83d48a33c798 Mon Sep 17 00:00:00 2001 From: Trung N Tran Date: Thu, 11 Jan 2018 10:57:07 -0800 Subject: mpm: mg: Pass deserializer_lane_xbar to ad937x_config Slot A and Slot B are different in how the JESD lanes are connected. We now pass in different deserializer_lane_xbar config values for each slot. Reviewed-by: Martin Braun Reviewed-by: Daniel Jepson Reviewed-by: Mark Meserve --- mpm/lib/mykonos/ad937x_device.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mpm/lib/mykonos/ad937x_device.cpp') diff --git a/mpm/lib/mykonos/ad937x_device.cpp b/mpm/lib/mykonos/ad937x_device.cpp index 31fe7a459..e6941b52d 100644 --- a/mpm/lib/mykonos/ad937x_device.cpp +++ b/mpm/lib/mykonos/ad937x_device.cpp @@ -257,9 +257,10 @@ Initialization functions ad937x_device::ad937x_device( mpm::types::regs_iface* iface, + const size_t deserializer_lane_xbar, const gain_pins_t gain_pins) : full_spi_settings(iface), - mykonos_config(&full_spi_settings.spi_settings), + mykonos_config(&full_spi_settings.spi_settings, deserializer_lane_xbar), gain_ctrl(gain_pins) { } -- cgit v1.2.3