AnsweredAssumed Answered

Bug in AD9361 phy driver for manual gain control

Question asked by zbergquist on Mar 15, 2016
Latest reply on Mar 15, 2016 by zbergquist

We stumbled upon an issue in the AD9361 PHY driver today.

 

As you can see here, the driver is loading the "adi-mgc-rx2-ctrl-inp-enable" property from the device tree, but storing the result in gain_ctrl.mgc_rx1_ctl_inp_en (overwriting the previous value for rx1).


As a result, both of these device tree properties control channel 1, and it is impossible to set manual gain control for channel 2.


adi,mgc-rx1-ctrl-inp-enable;

adi,mgc-rx2-ctrl-inp-enable;


We'd love to see this patched in the Altera branch too

 

Thanks!

Outcomes