diff options
author | Mark Brown <broonie@kernel.org> | 2017-09-01 07:12:17 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-09-01 07:12:17 -0400 |
commit | 0314f6947c5132c63413855c34d8cff22e95ae2b (patch) | |
tree | d174b2413684c2d2ae92a7287b47a9be8e840065 /sound/soc | |
parent | 2e700424799ebe7731839efcee30a5a23525e7b5 (diff) | |
parent | f13db334bf7b68b0086d04ab6a51517ba41123b4 (diff) |
Merge remote-tracking branch 'asoc/topic/const' into asoc-next
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/cs42l42.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/es8316.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/inno_rk3036.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/max9867.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/max98926.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/msm8916-wcd-analog.c | 1 | ||||
-rw-r--r-- | sound/soc/codecs/rt5616.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/rt5663.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/tas5720.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/zx_aud96p22.c | 2 |
10 files changed, 9 insertions, 10 deletions
diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c index 55e4520cdcaf..9e860dfa0163 100644 --- a/sound/soc/codecs/cs42l42.c +++ b/sound/soc/codecs/cs42l42.c | |||
@@ -911,7 +911,7 @@ static int cs42l42_digital_mute(struct snd_soc_dai *dai, int mute) | |||
911 | SNDRV_PCM_FMTBIT_S32_LE) | 911 | SNDRV_PCM_FMTBIT_S32_LE) |
912 | 912 | ||
913 | 913 | ||
914 | static struct snd_soc_dai_ops cs42l42_ops = { | 914 | static const struct snd_soc_dai_ops cs42l42_ops = { |
915 | .hw_params = cs42l42_pcm_hw_params, | 915 | .hw_params = cs42l42_pcm_hw_params, |
916 | .set_fmt = cs42l42_set_dai_fmt, | 916 | .set_fmt = cs42l42_set_dai_fmt, |
917 | .set_sysclk = cs42l42_set_sysclk, | 917 | .set_sysclk = cs42l42_set_sysclk, |
diff --git a/sound/soc/codecs/es8316.c b/sound/soc/codecs/es8316.c index 4f35af6a5d3a..da2d353af5ba 100644 --- a/sound/soc/codecs/es8316.c +++ b/sound/soc/codecs/es8316.c | |||
@@ -502,7 +502,7 @@ static int es8316_mute(struct snd_soc_dai *dai, int mute) | |||
502 | #define ES8316_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ | 502 | #define ES8316_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ |
503 | SNDRV_PCM_FMTBIT_S24_LE) | 503 | SNDRV_PCM_FMTBIT_S24_LE) |
504 | 504 | ||
505 | static struct snd_soc_dai_ops es8316_ops = { | 505 | static const struct snd_soc_dai_ops es8316_ops = { |
506 | .startup = es8316_pcm_startup, | 506 | .startup = es8316_pcm_startup, |
507 | .hw_params = es8316_pcm_hw_params, | 507 | .hw_params = es8316_pcm_hw_params, |
508 | .set_fmt = es8316_set_dai_fmt, | 508 | .set_fmt = es8316_set_dai_fmt, |
diff --git a/sound/soc/codecs/inno_rk3036.c b/sound/soc/codecs/inno_rk3036.c index 64b0be94bea3..6b59b6f08298 100644 --- a/sound/soc/codecs/inno_rk3036.c +++ b/sound/soc/codecs/inno_rk3036.c | |||
@@ -310,7 +310,7 @@ static int rk3036_codec_dai_hw_params(struct snd_pcm_substream *substream, | |||
310 | SNDRV_PCM_FMTBIT_S24_LE | \ | 310 | SNDRV_PCM_FMTBIT_S24_LE | \ |
311 | SNDRV_PCM_FMTBIT_S32_LE) | 311 | SNDRV_PCM_FMTBIT_S32_LE) |
312 | 312 | ||
313 | static struct snd_soc_dai_ops rk3036_codec_dai_ops = { | 313 | static const struct snd_soc_dai_ops rk3036_codec_dai_ops = { |
314 | .set_fmt = rk3036_codec_dai_set_fmt, | 314 | .set_fmt = rk3036_codec_dai_set_fmt, |
315 | .hw_params = rk3036_codec_dai_hw_params, | 315 | .hw_params = rk3036_codec_dai_hw_params, |
316 | }; | 316 | }; |
diff --git a/sound/soc/codecs/max9867.c b/sound/soc/codecs/max9867.c index 6c0c0d6e8f3c..2f60924fe919 100644 --- a/sound/soc/codecs/max9867.c +++ b/sound/soc/codecs/max9867.c | |||
@@ -350,7 +350,7 @@ static int max9867_dai_set_fmt(struct snd_soc_dai *codec_dai, | |||
350 | return 0; | 350 | return 0; |
351 | } | 351 | } |
352 | 352 | ||
353 | static struct snd_soc_dai_ops max9867_dai_ops = { | 353 | static const struct snd_soc_dai_ops max9867_dai_ops = { |
354 | .set_fmt = max9867_dai_set_fmt, | 354 | .set_fmt = max9867_dai_set_fmt, |
355 | .set_sysclk = max9867_set_dai_sysclk, | 355 | .set_sysclk = max9867_set_dai_sysclk, |
356 | .prepare = max9867_prepare, | 356 | .prepare = max9867_prepare, |
diff --git a/sound/soc/codecs/max98926.c b/sound/soc/codecs/max98926.c index 7a39bfb9e0f9..59d03d036945 100644 --- a/sound/soc/codecs/max98926.c +++ b/sound/soc/codecs/max98926.c | |||
@@ -459,7 +459,7 @@ static int max98926_dai_hw_params(struct snd_pcm_substream *substream, | |||
459 | #define MAX98926_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \ | 459 | #define MAX98926_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \ |
460 | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) | 460 | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) |
461 | 461 | ||
462 | static struct snd_soc_dai_ops max98926_dai_ops = { | 462 | static const struct snd_soc_dai_ops max98926_dai_ops = { |
463 | .set_fmt = max98926_dai_set_fmt, | 463 | .set_fmt = max98926_dai_set_fmt, |
464 | .hw_params = max98926_dai_hw_params, | 464 | .hw_params = max98926_dai_hw_params, |
465 | }; | 465 | }; |
diff --git a/sound/soc/codecs/msm8916-wcd-analog.c b/sound/soc/codecs/msm8916-wcd-analog.c index cd4d60ef4c77..549c269acc7d 100644 --- a/sound/soc/codecs/msm8916-wcd-analog.c +++ b/sound/soc/codecs/msm8916-wcd-analog.c | |||
@@ -998,7 +998,6 @@ static irqreturn_t mbhc_btn_press_irq_handler(int irq, void *arg) | |||
998 | return IRQ_HANDLED; | 998 | return IRQ_HANDLED; |
999 | } | 999 | } |
1000 | 1000 | ||
1001 | |||
1002 | static irqreturn_t pm8916_mbhc_switch_irq_handler(int irq, void *arg) | 1001 | static irqreturn_t pm8916_mbhc_switch_irq_handler(int irq, void *arg) |
1003 | { | 1002 | { |
1004 | struct pm8916_wcd_analog_priv *priv = arg; | 1003 | struct pm8916_wcd_analog_priv *priv = arg; |
diff --git a/sound/soc/codecs/rt5616.c b/sound/soc/codecs/rt5616.c index 3c5f555ae6d0..c94e94fe8297 100644 --- a/sound/soc/codecs/rt5616.c +++ b/sound/soc/codecs/rt5616.c | |||
@@ -1265,7 +1265,7 @@ static int rt5616_resume(struct snd_soc_codec *codec) | |||
1265 | #define RT5616_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ | 1265 | #define RT5616_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ |
1266 | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S8) | 1266 | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S8) |
1267 | 1267 | ||
1268 | static struct snd_soc_dai_ops rt5616_aif_dai_ops = { | 1268 | static const struct snd_soc_dai_ops rt5616_aif_dai_ops = { |
1269 | .hw_params = rt5616_hw_params, | 1269 | .hw_params = rt5616_hw_params, |
1270 | .set_fmt = rt5616_set_dai_fmt, | 1270 | .set_fmt = rt5616_set_dai_fmt, |
1271 | .set_sysclk = rt5616_set_dai_sysclk, | 1271 | .set_sysclk = rt5616_set_dai_sysclk, |
diff --git a/sound/soc/codecs/rt5663.c b/sound/soc/codecs/rt5663.c index 31aeb2ba6204..7a6b1bb0b437 100644 --- a/sound/soc/codecs/rt5663.c +++ b/sound/soc/codecs/rt5663.c | |||
@@ -2860,7 +2860,7 @@ static int rt5663_resume(struct snd_soc_codec *codec) | |||
2860 | #define RT5663_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ | 2860 | #define RT5663_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ |
2861 | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S8) | 2861 | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S8) |
2862 | 2862 | ||
2863 | static struct snd_soc_dai_ops rt5663_aif_dai_ops = { | 2863 | static const struct snd_soc_dai_ops rt5663_aif_dai_ops = { |
2864 | .hw_params = rt5663_hw_params, | 2864 | .hw_params = rt5663_hw_params, |
2865 | .set_fmt = rt5663_set_dai_fmt, | 2865 | .set_fmt = rt5663_set_dai_fmt, |
2866 | .set_sysclk = rt5663_set_dai_sysclk, | 2866 | .set_sysclk = rt5663_set_dai_sysclk, |
diff --git a/sound/soc/codecs/tas5720.c b/sound/soc/codecs/tas5720.c index d14b78b1917b..a736a2a6976c 100644 --- a/sound/soc/codecs/tas5720.c +++ b/sound/soc/codecs/tas5720.c | |||
@@ -507,7 +507,7 @@ static const struct snd_soc_codec_driver soc_codec_dev_tas5720 = { | |||
507 | #define TAS5720_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S18_3LE |\ | 507 | #define TAS5720_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S18_3LE |\ |
508 | SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_S24_LE) | 508 | SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_S24_LE) |
509 | 509 | ||
510 | static struct snd_soc_dai_ops tas5720_speaker_dai_ops = { | 510 | static const struct snd_soc_dai_ops tas5720_speaker_dai_ops = { |
511 | .hw_params = tas5720_hw_params, | 511 | .hw_params = tas5720_hw_params, |
512 | .set_fmt = tas5720_set_dai_fmt, | 512 | .set_fmt = tas5720_set_dai_fmt, |
513 | .set_tdm_slot = tas5720_set_dai_tdm_slot, | 513 | .set_tdm_slot = tas5720_set_dai_tdm_slot, |
diff --git a/sound/soc/codecs/zx_aud96p22.c b/sound/soc/codecs/zx_aud96p22.c index 36d0a7087a54..51fad48892d3 100644 --- a/sound/soc/codecs/zx_aud96p22.c +++ b/sound/soc/codecs/zx_aud96p22.c | |||
@@ -312,7 +312,7 @@ static int aud96p22_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) | |||
312 | return 0; | 312 | return 0; |
313 | } | 313 | } |
314 | 314 | ||
315 | static struct snd_soc_dai_ops aud96p22_dai_ops = { | 315 | static const struct snd_soc_dai_ops aud96p22_dai_ops = { |
316 | .set_fmt = aud96p22_set_fmt, | 316 | .set_fmt = aud96p22_set_fmt, |
317 | }; | 317 | }; |
318 | 318 | ||