]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra20: spdif: make const array rates static
authorColin Ian King <colin.i.king@gmail.com>
Mon, 14 Feb 2022 21:32:23 +0000 (21:32 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 15 Feb 2022 12:52:44 +0000 (12:52 +0000)
commit050f9ca661d57a97b3b158ee39798cf0359e5f3b
tree640f8b929409a50446a5c82d36db7fbf9d994349
parent18b607eb8fbe4ff5126c0d477a30eb48b8436427
ASoC: tegra20: spdif: make const array rates static

Don't populate the read-only const array rates on the stack but
instead it static. Also makes the object code a little smaller.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220214213223.65780-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra20_spdif.c