/* vx_set_mic_level - set mic level (on vxpocket only) @level: the mic level = 0 - 8 (max)  */
void vx_set_mic_level(struct vx_core *chip, int level)
/* vx_set_mic_level - set mic level (on vxpocket only) @level: the mic level = 0 - 8 (max)  */
void vx_set_mic_level(struct vx_core *chip, int level)
{
	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 & VXP_CDSP_MIC_SEL_MASK) {
		level = vx_compute_mic_level(level);
		vx_outb(chip, MICRO, level);
	}
	spin_unlock_irqrestore(&chip->lock, flags);
}