/* Update the AMP values like snd_hda_codec_amp_update(), but for a stereo widget with the same mask and value.  */
int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid, int direction, int idx, int mask, int val)
/* Update the AMP values like snd_hda_codec_amp_update(), but for a stereo widget with the same mask and value.  */
int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid, int direction, int idx, int mask, int val)
{
	int ch, ret = 0;
	for (ch = 0; ch < 2; ch++)
		ret |= snd_hda_codec_amp_update(codec, nid, ch, direction,
						idx, mask, val);
	return ret;
}