summaryrefslogtreecommitdiffstats
path: root/mm/userfaultfd.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2020-10-14 08:19:35 +0200
committerMark Brown <broonie@kernel.org>2020-10-26 15:57:00 +0100
commit15b45912341e884a16322792525db7a2b2b9a1f9 (patch)
treefa30fd0232f5fc86c0114d608eb4377f87f65b2e /mm/userfaultfd.c
parentASoC: sun8i-codec: Automatically set the system sample rate (diff)
downloadlinux-15b45912341e884a16322792525db7a2b2b9a1f9.tar.xz
linux-15b45912341e884a16322792525db7a2b2b9a1f9.zip
ASoC: sun8i-codec: Constrain to compatible sample rates
While another stream is active, only allow userspace to use sample rates that are compatible with the current SYSCLK frequency. This ensures the actual sample rate will always match what is given in hw_params. Acked-by: Maxime Ripard <mripard@kernel.org> Signed-off-by: Samuel Holland <samuel@sholland.org> Link: https://lore.kernel.org/r/20201014061941.4306-12-samuel@sholland.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions