aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/fsl_spdif.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-10-22 10:43:23 +0200
committerMark Brown <broonie@kernel.org>2015-10-23 08:52:52 +0900
commit444c37aeee46db70ce01199863dc046fa68e88b7 (patch)
tree7377d308cf07b56e77d0b23943971b075afb4bb1 /sound/soc/fsl/fsl_spdif.c
parentASoC: fsl_sai: Fix module autoload for OF platform driver (diff)
downloadlinux-dev-444c37aeee46db70ce01199863dc046fa68e88b7.tar.xz
linux-dev-444c37aeee46db70ce01199863dc046fa68e88b7.zip
ASoC: fsl_sai: Constify rate constraints
The rate constraints in this driver are shared between all device instances. It should not be (and is not) modified at runtime, so make them const. While we are at it also change the type of the rates array from u32 to unsigned int. While both resolve to the same type, u32 is usually used to empathize that the value is for a 32-bit hardware register or similar which makes it slightly confusing in this context. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Nicolin Chen <nicoleotsuka@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl_spdif.c')
0 files changed, 0 insertions, 0 deletions