Merge "hal: set different echo reference based on output device"