snd_cs4231_out(chip, CS4231_REC_LWR_CNT, (runtime->period_size - 1) & 0x00ff); snd_cs4231_out(chip, CS4231_REC_LWR_CNT, (runtime->period_size - 1) >> 8 & 0x00ff);
static int snd_cs4231_capture_prepare(snd_pcm_substream_t *substream){	cs4231_t *chip = snd_pcm_substream_chip(substream);	unsigned long flags;	spin_lock_irqsave(&chip->lock, flags);	chip->image[CS4231_IFACE_CTRL] &= ~(CS4231_RECORD_ENABLE |					    CS4231_RECORD_PIO);	spin_unlock_irqrestore(&chip->lock, flags);	return 0;}