diff options
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 1131c86ad495..f84874445b50 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -2218,7 +2218,7 @@ unsigned int snd_hda_calc_stream_format(unsigned int rate, | |||
2218 | * | 2218 | * |
2219 | * Returns 0 if successful, otherwise a negative error code. | 2219 | * Returns 0 if successful, otherwise a negative error code. |
2220 | */ | 2220 | */ |
2221 | int snd_hda_query_supported_pcm(struct hda_codec *codec, hda_nid_t nid, | 2221 | static int snd_hda_query_supported_pcm(struct hda_codec *codec, hda_nid_t nid, |
2222 | u32 *ratesp, u64 *formatsp, unsigned int *bpsp) | 2222 | u32 *ratesp, u64 *formatsp, unsigned int *bpsp) |
2223 | { | 2223 | { |
2224 | int i; | 2224 | int i; |
@@ -3374,18 +3374,6 @@ int snd_hda_resume(struct hda_bus *bus) | |||
3374 | } | 3374 | } |
3375 | return 0; | 3375 | return 0; |
3376 | } | 3376 | } |
3377 | #ifdef CONFIG_SND_HDA_POWER_SAVE | ||
3378 | int snd_hda_codecs_inuse(struct hda_bus *bus) | ||
3379 | { | ||
3380 | struct hda_codec *codec; | ||
3381 | |||
3382 | list_for_each_entry(codec, &bus->codec_list, list) { | ||
3383 | if (snd_hda_codec_needs_resume(codec)) | ||
3384 | return 1; | ||
3385 | } | ||
3386 | return 0; | ||
3387 | } | ||
3388 | #endif | ||
3389 | #endif | 3377 | #endif |
3390 | 3378 | ||
3391 | /* | 3379 | /* |