diff options
| -rw-r--r-- | sound/pci/hda/hda_local.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 321e78baa63c..9bd935216c18 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h | |||
| @@ -622,8 +622,10 @@ snd_hda_check_power_state(struct hda_codec *codec, hda_nid_t nid, | |||
| 622 | { | 622 | { |
| 623 | return snd_hdac_check_power_state(&codec->core, nid, target_state); | 623 | return snd_hdac_check_power_state(&codec->core, nid, target_state); |
| 624 | } | 624 | } |
| 625 | static inline bool snd_hda_sync_power_state(struct hda_codec *codec, | 625 | |
| 626 | hda_nid_t nid, unsigned int target_state) | 626 | static inline unsigned int snd_hda_sync_power_state(struct hda_codec *codec, |
| 627 | hda_nid_t nid, | ||
| 628 | unsigned int target_state) | ||
| 627 | { | 629 | { |
| 628 | return snd_hdac_sync_power_state(&codec->core, nid, target_state); | 630 | return snd_hdac_sync_power_state(&codec->core, nid, target_state); |
| 629 | } | 631 | } |
