[PATCH AUTOSEL 6.17-5.4] iio: adc: spear_adc: mask SPEAR_ADC_STATUS channel and avg sample before setting register