summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_cache.h
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2020-03-05 06:11:41 +0100
committerMark Brown <broonie@kernel.org>2020-03-06 15:24:09 +0100
commit4769bfb9dada678b31a2ec275372624dbfeed9d1 (patch)
tree4aa8cbb12078b5351f58bfa417b66fbdffbb7faa /include/drm/drm_cache.h
parentASoC: soc-pcm: remove duplicate be check from dpcm_add_paths() (diff)
downloadlinux-4769bfb9dada678b31a2ec275372624dbfeed9d1.tar.xz
linux-4769bfb9dada678b31a2ec275372624dbfeed9d1.zip
ALSA: pcm: Add a standalone version of snd_pcm_limit_hw_rates
It can be useful to derive min/max rates of a snd_pcm_hardware without having a snd_pcm_runtime, such as before constructing an ASoC DAI link. Create a new helper that takes a pointer to a snd_pcm_hardware directly, and refactor the original function as a wrapper around it, to avoid needing to update any call sites. Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://lore.kernel.org/r/20200305051143.60691-2-samuel@sholland.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/drm/drm_cache.h')
0 files changed, 0 insertions, 0 deletions