projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e8e9b9
)
ASoC: cs42l73: Constify cs42l73_mclk_coeffs and cs42l73_mclkx_coeffs tables
author
Axel Lin
<axel.lin@ingics.com>
Tue, 2 Aug 2016 05:48:30 +0000
(13:48 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 8 Aug 2016 10:54:30 +0000
(11:54 +0100)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l73.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/cs42l73.c
b/sound/soc/codecs/cs42l73.c
index 42a8fd4e1f9b3f284d6dcc01dc67cf6475d5a192..8524e226d6196b6f9538552def89b3909af266e3 100644
(file)
--- a/
sound/soc/codecs/cs42l73.c
+++ b/
sound/soc/codecs/cs42l73.c
@@
-794,7
+794,7
@@
struct cs42l73_mclk_div {
u8 mmcc;
};
-static struct cs42l73_mclk_div cs42l73_mclk_coeffs[] = {
+static
const
struct cs42l73_mclk_div cs42l73_mclk_coeffs[] = {
/* MCLK, Sample Rate, xMMCC[5:0] */
{5644800, 11025, 0x30},
{5644800, 22050, 0x20},
@@
-844,7
+844,7
@@
struct cs42l73_mclkx_div {
u8 mclkdiv;
};
-static struct cs42l73_mclkx_div cs42l73_mclkx_coeffs[] = {
+static
const
struct cs42l73_mclkx_div cs42l73_mclkx_coeffs[] = {
{5644800, 1, 0}, /* 5644800 */
{6000000, 1, 0}, /* 6000000 */
{6144000, 1, 0}, /* 6144000 */