/* ac97_get_ctrl() return the current values for ac97 mute and volume  */
static int ac97_get_ctrl(struct em28xx *dev, struct v4l2_control *ctrl)
/* ac97_get_ctrl() return the current values for ac97 mute and volume  */
static int ac97_get_ctrl(struct em28xx *dev, struct v4l2_control *ctrl)
{
	switch (ctrl->id) {
	case V4L2_CID_AUDIO_MUTE:
		ctrl->value = dev->mute;
		return 0;
	case V4L2_CID_AUDIO_VOLUME:
		ctrl->value = dev->volume;
		return 0;
	default:
		return 1;
	}
}