]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: fsl_sai: Use better variable names
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 2 Mar 2022 08:34:26 +0000 (09:34 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 7 Mar 2022 13:13:08 +0000 (13:13 +0000)
commitc56359f4f2adfb81cf7cbea1e8ef9bfc59dbd4ec
tree0549844de9718b56ff30a06169bc8c9e7fd1a834
parent99c1e74f25d435c1c714b8ee0dceb7ebb7d2f2f1
ASoC: fsl_sai: Use better variable names

"ret" is normally used as a variable name for return values. In
fsl_sai_set_bclk() it stores the difference between the desired rate and
the rate we can archieve, so rename it to "diff". Also rename "savesub"
to "bestdiff" as that stores the best difference we have found.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lore.kernel.org/r/20220302083428.3804687-6-s.hauer@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c