|
@@ -129,8 +129,8 @@ int snd_hda_mixer_amp_switch_put_beep(struct snd_kcontrol *kcontrol,
|
|
/* lowlevel accessor with caching; use carefully */
|
|
/* lowlevel accessor with caching; use carefully */
|
|
#define snd_hda_codec_amp_read(codec, nid, ch, dir, idx) \
|
|
#define snd_hda_codec_amp_read(codec, nid, ch, dir, idx) \
|
|
snd_hdac_regmap_get_amp(&(codec)->core, nid, ch, dir, idx)
|
|
snd_hdac_regmap_get_amp(&(codec)->core, nid, ch, dir, idx)
|
|
-#define snd_hda_codec_amp_update(codec, nid, ch, dir, idx, mask, val) \
|
|
|
|
- snd_hdac_regmap_update_amp(&(codec)->core, nid, ch, dir, idx, mask, val)
|
|
|
|
|
|
+int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid,
|
|
|
|
+ int ch, int dir, int idx, int mask, int val);
|
|
int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid,
|
|
int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid,
|
|
int dir, int idx, int mask, int val);
|
|
int dir, int idx, int mask, int val);
|
|
int snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch,
|
|
int snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch,
|