The state of the CF_AXI_DDS_CTRL register is restored on exit of the ad9122_write_raw function.