/* vx_set_mic_boost - set mic boost level (on vxp440 only) @boost: 0 = 20dB, 1 = +38dB  */
void vx_set_mic_boost(struct vx_core *chip, int boost)
/* vx_set_mic_boost - set mic boost level (on vxp440 only) @boost: 0 = 20dB, 1 = +38dB  */
void vx_set_mic_boost(struct vx_core *chip, int boost)
{
	struct snd_vxpocket *pchip = (struct snd_vxpocket *)chip;
	unsigned long flags;
	if (chip->chip_status & VX_STAT_IS_STALE)
		return;
	spin_lock_irqsave(&chip->lock, flags);
	if (pchip->regCDSP & P24_CDSP_MICS_SEL_MASK) {
		if (boost) {
			pchip->regCDSP &= ~P24_CDSP_MIC20_SEL_MASK;
			pchip->regCDSP |=  P24_CDSP_MIC38_SEL_MASK;
		} else {
			pchip->regCDSP |=  P24_CDSP_MIC20_SEL_MASK;
			pchip->regCDSP &= ~P24_CDSP_MIC38_SEL_MASK;
                }
		vx_outb(chip, CDSP, pchip->regCDSP);
	}
	spin_unlock_irqrestore(&chip->lock, flags);
}