Commit e094e8f3 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

ASoC: cs42l73: Constify cs42l73_mclk_coeffs and cs42l73_mclkx_coeffs tables

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarBrian Austin <brian.austin@cirrus.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6e8e9b9a
...@@ -794,7 +794,7 @@ struct cs42l73_mclk_div { ...@@ -794,7 +794,7 @@ struct cs42l73_mclk_div {
u8 mmcc; 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] */ /* MCLK, Sample Rate, xMMCC[5:0] */
{5644800, 11025, 0x30}, {5644800, 11025, 0x30},
{5644800, 22050, 0x20}, {5644800, 22050, 0x20},
...@@ -844,7 +844,7 @@ struct cs42l73_mclkx_div { ...@@ -844,7 +844,7 @@ struct cs42l73_mclkx_div {
u8 mclkdiv; u8 mclkdiv;
}; };
static struct cs42l73_mclkx_div cs42l73_mclkx_coeffs[] = { static const struct cs42l73_mclkx_div cs42l73_mclkx_coeffs[] = {
{5644800, 1, 0}, /* 5644800 */ {5644800, 1, 0}, /* 5644800 */
{6000000, 1, 0}, /* 6000000 */ {6000000, 1, 0}, /* 6000000 */
{6144000, 1, 0}, /* 6144000 */ {6144000, 1, 0}, /* 6144000 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment