/* open callback for capture on via686 and via823x  */
static int snd_via82xx_capture_open(struct snd_pcm_substream *substream)
/* open callback for capture on via686 and via823x  */
static int snd_via82xx_capture_open(struct snd_pcm_substream *substream)
{
	struct via82xx *chip = snd_pcm_substream_chip(substream);
	struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device];
	return snd_via82xx_pcm_open(chip, viadev, substream);
}