Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e8e9b9a authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

ASoC: cs53l30: Constify cs53l30_mclk_coeffs and cs53l30_mclkx_coeffs tables



Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 29b4817d
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -466,7 +466,7 @@ struct cs53l30_mclk_div {
	u8 mclk_int_scale;
	u8 mclk_int_scale;
};
};


static struct cs53l30_mclk_div cs53l30_mclk_coeffs[] = {
static const struct cs53l30_mclk_div cs53l30_mclk_coeffs[] = {
	/* NOTE: Enable MCLK_INT_SCALE to save power. */
	/* NOTE: Enable MCLK_INT_SCALE to save power. */


	/* MCLK, Sample Rate, asp_rate, internal_fs_ratio, mclk_int_scale */
	/* MCLK, Sample Rate, asp_rate, internal_fs_ratio, mclk_int_scale */
@@ -511,7 +511,7 @@ struct cs53l30_mclkx_div {
	u8 mclkdiv;
	u8 mclkdiv;
};
};


static struct cs53l30_mclkx_div cs53l30_mclkx_coeffs[] = {
static const struct cs53l30_mclkx_div cs53l30_mclkx_coeffs[] = {
	{5644800,  1, CS53L30_MCLK_DIV_BY_1},
	{5644800,  1, CS53L30_MCLK_DIV_BY_1},
	{6000000,  1, CS53L30_MCLK_DIV_BY_1},
	{6000000,  1, CS53L30_MCLK_DIV_BY_1},
	{6144000,  1, CS53L30_MCLK_DIV_BY_1},
	{6144000,  1, CS53L30_MCLK_DIV_BY_1},