diff options
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r-- | sound/pci/hda/hda_local.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 46c581c3fa8..81e12c0ed0a 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h | |||
@@ -600,7 +600,8 @@ int snd_hda_check_amp_list_power(struct hda_codec *codec, | |||
600 | #define get_amp_nid_(pv) ((pv) & 0xffff) | 600 | #define get_amp_nid_(pv) ((pv) & 0xffff) |
601 | #define get_amp_nid(kc) get_amp_nid_((kc)->private_value) | 601 | #define get_amp_nid(kc) get_amp_nid_((kc)->private_value) |
602 | #define get_amp_channels(kc) (((kc)->private_value >> 16) & 0x3) | 602 | #define get_amp_channels(kc) (((kc)->private_value >> 16) & 0x3) |
603 | #define get_amp_direction(kc) (((kc)->private_value >> 18) & 0x1) | 603 | #define get_amp_direction_(pv) (((pv) >> 18) & 0x1) |
604 | #define get_amp_direction(kc) get_amp_direction_((kc)->private_value) | ||
604 | #define get_amp_index(kc) (((kc)->private_value >> 19) & 0xf) | 605 | #define get_amp_index(kc) (((kc)->private_value >> 19) & 0xf) |
605 | #define get_amp_offset(kc) (((kc)->private_value >> 23) & 0x3f) | 606 | #define get_amp_offset(kc) (((kc)->private_value >> 23) & 0x3f) |
606 | #define get_amp_min_mute(kc) (((kc)->private_value >> 29) & 0x1) | 607 | #define get_amp_min_mute(kc) (((kc)->private_value >> 29) & 0x1) |