aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCezary Rojewski <[email protected]>2023-11-17 13:06:08 +0100
committerTakashi Iwai <[email protected]>2023-11-27 17:28:47 +0100
commitdfd6ba6813dd0fdea54de58e7b80ca304ce3fca5 (patch)
tree51de4beb2fa7c4a41c0113f12827f2b02cfe9c2b /include
parent615d13cb4f3e499fb5c270a7db66917286f7d0ec (diff)
ALSA: hda: Drop snd_hdac_calc_stream_format()
There are no users of the function. Acked-by: Mark Brown <[email protected]> Signed-off-by: Cezary Rojewski <[email protected]> Acked-by: Jaroslav Kysela <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/sound/hdaudio.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/sound/hdaudio.h b/include/sound/hdaudio.h
index b00c631c4053..62a3cd154ff2 100644
--- a/include/sound/hdaudio.h
+++ b/include/sound/hdaudio.h
@@ -145,11 +145,6 @@ unsigned int snd_hdac_stream_format_bits(snd_pcm_format_t format, snd_pcm_subfor
unsigned int snd_hdac_stream_format(unsigned int channels, unsigned int bits, unsigned int rate);
unsigned int snd_hdac_spdif_stream_format(unsigned int channels, unsigned int bits,
unsigned int rate, unsigned short spdif_ctls);
-unsigned int snd_hdac_calc_stream_format(unsigned int rate,
- unsigned int channels,
- snd_pcm_format_t format,
- unsigned int maxbps,
- unsigned short spdif_ctls);
int snd_hdac_query_supported_pcm(struct hdac_device *codec, hda_nid_t nid,
u32 *ratesp, u64 *formatsp, u32 *subformatsp,
unsigned int *bpsp);