* [PATCH 1/2] ASoC: cs42l73: Constify cs42l73_mclk_coeffs and cs42l73_mclkx_coeffs tables
@ 2016-08-02 5:48 Axel Lin
2016-08-02 5:48 ` [PATCH 2/2] ASoC: cs53l30: Constify cs53l30_mclk_coeffs and cs53l30_mclkx_coeffs tables Axel Lin
2016-08-02 14:00 ` [PATCH 1/2] ASoC: cs42l73: Constify cs42l73_mclk_coeffs and cs42l73_mclkx_coeffs tables Brian Austin
0 siblings, 2 replies; 4+ messages in thread
From: Axel Lin @ 2016-08-02 5:48 UTC (permalink / raw)
To: Mark Brown
Cc: Brian Austin, Axel Lin, alsa-devel, Paul Handrigan, Liam Girdwood,
Nicolin Chen
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
sound/soc/codecs/cs42l73.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/cs42l73.c b/sound/soc/codecs/cs42l73.c
index 42a8fd4..8524e22 100644
--- 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 */
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/2] ASoC: cs53l30: Constify cs53l30_mclk_coeffs and cs53l30_mclkx_coeffs tables
2016-08-02 5:48 [PATCH 1/2] ASoC: cs42l73: Constify cs42l73_mclk_coeffs and cs42l73_mclkx_coeffs tables Axel Lin
@ 2016-08-02 5:48 ` Axel Lin
2016-08-02 19:48 ` Handrigan, Paul
2016-08-02 14:00 ` [PATCH 1/2] ASoC: cs42l73: Constify cs42l73_mclk_coeffs and cs42l73_mclkx_coeffs tables Brian Austin
1 sibling, 1 reply; 4+ messages in thread
From: Axel Lin @ 2016-08-02 5:48 UTC (permalink / raw)
To: Mark Brown
Cc: Brian Austin, Axel Lin, alsa-devel, Paul Handrigan, Liam Girdwood,
Nicolin Chen
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
sound/soc/codecs/cs53l30.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/cs53l30.c b/sound/soc/codecs/cs53l30.c
index 227c556..b69c483 100644
--- a/sound/soc/codecs/cs53l30.c
+++ b/sound/soc/codecs/cs53l30.c
@@ -466,7 +466,7 @@ struct cs53l30_mclk_div {
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. */
/* MCLK, Sample Rate, asp_rate, internal_fs_ratio, mclk_int_scale */
@@ -511,7 +511,7 @@ struct cs53l30_mclkx_div {
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},
{6000000, 1, CS53L30_MCLK_DIV_BY_1},
{6144000, 1, CS53L30_MCLK_DIV_BY_1},
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 2/2] ASoC: cs53l30: Constify cs53l30_mclk_coeffs and cs53l30_mclkx_coeffs tables
2016-08-02 5:48 ` [PATCH 2/2] ASoC: cs53l30: Constify cs53l30_mclk_coeffs and cs53l30_mclkx_coeffs tables Axel Lin
@ 2016-08-02 19:48 ` Handrigan, Paul
0 siblings, 0 replies; 4+ messages in thread
From: Handrigan, Paul @ 2016-08-02 19:48 UTC (permalink / raw)
To: Axel Lin, Mark Brown
Cc: Nicolin Chen, Austin, Brian, Liam Girdwood,
alsa-devel@alsa-project.org
On 8/2/16, 12:48 AM, "Axel Lin" <axel.lin@ingics.com> wrote:
>Signed-off-by: Axel Lin <axel.lin@ingics.com>
>---
> sound/soc/codecs/cs53l30.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/sound/soc/codecs/cs53l30.c b/sound/soc/codecs/cs53l30.c
>index 227c556..b69c483 100644
>--- a/sound/soc/codecs/cs53l30.c
>+++ b/sound/soc/codecs/cs53l30.c
>@@ -466,7 +466,7 @@ struct cs53l30_mclk_div {
> 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. */
>
> /* MCLK, Sample Rate, asp_rate, internal_fs_ratio, mclk_int_scale */
>@@ -511,7 +511,7 @@ struct cs53l30_mclkx_div {
> 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},
> {6000000, 1, CS53L30_MCLK_DIV_BY_1},
> {6144000, 1, CS53L30_MCLK_DIV_BY_1},
Acked-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] ASoC: cs42l73: Constify cs42l73_mclk_coeffs and cs42l73_mclkx_coeffs tables
2016-08-02 5:48 [PATCH 1/2] ASoC: cs42l73: Constify cs42l73_mclk_coeffs and cs42l73_mclkx_coeffs tables Axel Lin
2016-08-02 5:48 ` [PATCH 2/2] ASoC: cs53l30: Constify cs53l30_mclk_coeffs and cs53l30_mclkx_coeffs tables Axel Lin
@ 2016-08-02 14:00 ` Brian Austin
1 sibling, 0 replies; 4+ messages in thread
From: Brian Austin @ 2016-08-02 14:00 UTC (permalink / raw)
To: Axel Lin
Cc: alsa-devel, Brian Austin, Paul Handrigan, Liam Girdwood,
Nicolin Chen, Mark Brown
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> sound/soc/codecs/cs42l73.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/sound/soc/codecs/cs42l73.c b/sound/soc/codecs/cs42l73.c
> index 42a8fd4..8524e22 100644
> --- 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 */
> --
> 2.7.4
>
>
Acked-by: Brian Austin <brian.austin@cirrus.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-08-02 19:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-02 5:48 [PATCH 1/2] ASoC: cs42l73: Constify cs42l73_mclk_coeffs and cs42l73_mclkx_coeffs tables Axel Lin
2016-08-02 5:48 ` [PATCH 2/2] ASoC: cs53l30: Constify cs53l30_mclk_coeffs and cs53l30_mclkx_coeffs tables Axel Lin
2016-08-02 19:48 ` Handrigan, Paul
2016-08-02 14:00 ` [PATCH 1/2] ASoC: cs42l73: Constify cs42l73_mclk_coeffs and cs42l73_mclkx_coeffs tables Brian Austin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).