Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0314f694
Commit
0314f694
authored
Sep 01, 2017
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/const' into asoc-next
parents
2e700424
f13db334
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
9 additions
and
10 deletions
+9
-10
sound/soc/codecs/cs42l42.c
sound/soc/codecs/cs42l42.c
+1
-1
sound/soc/codecs/es8316.c
sound/soc/codecs/es8316.c
+1
-1
sound/soc/codecs/inno_rk3036.c
sound/soc/codecs/inno_rk3036.c
+1
-1
sound/soc/codecs/max9867.c
sound/soc/codecs/max9867.c
+1
-1
sound/soc/codecs/max98926.c
sound/soc/codecs/max98926.c
+1
-1
sound/soc/codecs/msm8916-wcd-analog.c
sound/soc/codecs/msm8916-wcd-analog.c
+0
-1
sound/soc/codecs/rt5616.c
sound/soc/codecs/rt5616.c
+1
-1
sound/soc/codecs/rt5663.c
sound/soc/codecs/rt5663.c
+1
-1
sound/soc/codecs/tas5720.c
sound/soc/codecs/tas5720.c
+1
-1
sound/soc/codecs/zx_aud96p22.c
sound/soc/codecs/zx_aud96p22.c
+1
-1
No files found.
sound/soc/codecs/cs42l42.c
View file @
0314f694
...
@@ -911,7 +911,7 @@ static int cs42l42_digital_mute(struct snd_soc_dai *dai, int mute)
...
@@ -911,7 +911,7 @@ static int cs42l42_digital_mute(struct snd_soc_dai *dai, int mute)
SNDRV_PCM_FMTBIT_S32_LE)
SNDRV_PCM_FMTBIT_S32_LE)
static
struct
snd_soc_dai_ops
cs42l42_ops
=
{
static
const
struct
snd_soc_dai_ops
cs42l42_ops
=
{
.
hw_params
=
cs42l42_pcm_hw_params
,
.
hw_params
=
cs42l42_pcm_hw_params
,
.
set_fmt
=
cs42l42_set_dai_fmt
,
.
set_fmt
=
cs42l42_set_dai_fmt
,
.
set_sysclk
=
cs42l42_set_sysclk
,
.
set_sysclk
=
cs42l42_set_sysclk
,
...
...
sound/soc/codecs/es8316.c
View file @
0314f694
...
@@ -502,7 +502,7 @@ static int es8316_mute(struct snd_soc_dai *dai, int mute)
...
@@ -502,7 +502,7 @@ static int es8316_mute(struct snd_soc_dai *dai, int mute)
#define ES8316_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
#define ES8316_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
SNDRV_PCM_FMTBIT_S24_LE)
SNDRV_PCM_FMTBIT_S24_LE)
static
struct
snd_soc_dai_ops
es8316_ops
=
{
static
const
struct
snd_soc_dai_ops
es8316_ops
=
{
.
startup
=
es8316_pcm_startup
,
.
startup
=
es8316_pcm_startup
,
.
hw_params
=
es8316_pcm_hw_params
,
.
hw_params
=
es8316_pcm_hw_params
,
.
set_fmt
=
es8316_set_dai_fmt
,
.
set_fmt
=
es8316_set_dai_fmt
,
...
...
sound/soc/codecs/inno_rk3036.c
View file @
0314f694
...
@@ -310,7 +310,7 @@ static int rk3036_codec_dai_hw_params(struct snd_pcm_substream *substream,
...
@@ -310,7 +310,7 @@ static int rk3036_codec_dai_hw_params(struct snd_pcm_substream *substream,
SNDRV_PCM_FMTBIT_S24_LE | \
SNDRV_PCM_FMTBIT_S24_LE | \
SNDRV_PCM_FMTBIT_S32_LE)
SNDRV_PCM_FMTBIT_S32_LE)
static
struct
snd_soc_dai_ops
rk3036_codec_dai_ops
=
{
static
const
struct
snd_soc_dai_ops
rk3036_codec_dai_ops
=
{
.
set_fmt
=
rk3036_codec_dai_set_fmt
,
.
set_fmt
=
rk3036_codec_dai_set_fmt
,
.
hw_params
=
rk3036_codec_dai_hw_params
,
.
hw_params
=
rk3036_codec_dai_hw_params
,
};
};
...
...
sound/soc/codecs/max9867.c
View file @
0314f694
...
@@ -350,7 +350,7 @@ static int max9867_dai_set_fmt(struct snd_soc_dai *codec_dai,
...
@@ -350,7 +350,7 @@ static int max9867_dai_set_fmt(struct snd_soc_dai *codec_dai,
return
0
;
return
0
;
}
}
static
struct
snd_soc_dai_ops
max9867_dai_ops
=
{
static
const
struct
snd_soc_dai_ops
max9867_dai_ops
=
{
.
set_fmt
=
max9867_dai_set_fmt
,
.
set_fmt
=
max9867_dai_set_fmt
,
.
set_sysclk
=
max9867_set_dai_sysclk
,
.
set_sysclk
=
max9867_set_dai_sysclk
,
.
prepare
=
max9867_prepare
,
.
prepare
=
max9867_prepare
,
...
...
sound/soc/codecs/max98926.c
View file @
0314f694
...
@@ -459,7 +459,7 @@ static int max98926_dai_hw_params(struct snd_pcm_substream *substream,
...
@@ -459,7 +459,7 @@ static int max98926_dai_hw_params(struct snd_pcm_substream *substream,
#define MAX98926_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
#define MAX98926_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
static
struct
snd_soc_dai_ops
max98926_dai_ops
=
{
static
const
struct
snd_soc_dai_ops
max98926_dai_ops
=
{
.
set_fmt
=
max98926_dai_set_fmt
,
.
set_fmt
=
max98926_dai_set_fmt
,
.
hw_params
=
max98926_dai_hw_params
,
.
hw_params
=
max98926_dai_hw_params
,
};
};
...
...
sound/soc/codecs/msm8916-wcd-analog.c
View file @
0314f694
...
@@ -998,7 +998,6 @@ static irqreturn_t mbhc_btn_press_irq_handler(int irq, void *arg)
...
@@ -998,7 +998,6 @@ static irqreturn_t mbhc_btn_press_irq_handler(int irq, void *arg)
return
IRQ_HANDLED
;
return
IRQ_HANDLED
;
}
}
static
irqreturn_t
pm8916_mbhc_switch_irq_handler
(
int
irq
,
void
*
arg
)
static
irqreturn_t
pm8916_mbhc_switch_irq_handler
(
int
irq
,
void
*
arg
)
{
{
struct
pm8916_wcd_analog_priv
*
priv
=
arg
;
struct
pm8916_wcd_analog_priv
*
priv
=
arg
;
...
...
sound/soc/codecs/rt5616.c
View file @
0314f694
...
@@ -1265,7 +1265,7 @@ static int rt5616_resume(struct snd_soc_codec *codec)
...
@@ -1265,7 +1265,7 @@ static int rt5616_resume(struct snd_soc_codec *codec)
#define RT5616_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
#define RT5616_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S8)
SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S8)
static
struct
snd_soc_dai_ops
rt5616_aif_dai_ops
=
{
static
const
struct
snd_soc_dai_ops
rt5616_aif_dai_ops
=
{
.
hw_params
=
rt5616_hw_params
,
.
hw_params
=
rt5616_hw_params
,
.
set_fmt
=
rt5616_set_dai_fmt
,
.
set_fmt
=
rt5616_set_dai_fmt
,
.
set_sysclk
=
rt5616_set_dai_sysclk
,
.
set_sysclk
=
rt5616_set_dai_sysclk
,
...
...
sound/soc/codecs/rt5663.c
View file @
0314f694
...
@@ -2860,7 +2860,7 @@ static int rt5663_resume(struct snd_soc_codec *codec)
...
@@ -2860,7 +2860,7 @@ static int rt5663_resume(struct snd_soc_codec *codec)
#define RT5663_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
#define RT5663_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \
SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S8)
SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S8)
static
struct
snd_soc_dai_ops
rt5663_aif_dai_ops
=
{
static
const
struct
snd_soc_dai_ops
rt5663_aif_dai_ops
=
{
.
hw_params
=
rt5663_hw_params
,
.
hw_params
=
rt5663_hw_params
,
.
set_fmt
=
rt5663_set_dai_fmt
,
.
set_fmt
=
rt5663_set_dai_fmt
,
.
set_sysclk
=
rt5663_set_dai_sysclk
,
.
set_sysclk
=
rt5663_set_dai_sysclk
,
...
...
sound/soc/codecs/tas5720.c
View file @
0314f694
...
@@ -507,7 +507,7 @@ static const struct snd_soc_codec_driver soc_codec_dev_tas5720 = {
...
@@ -507,7 +507,7 @@ static const struct snd_soc_codec_driver soc_codec_dev_tas5720 = {
#define TAS5720_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S18_3LE |\
#define TAS5720_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S18_3LE |\
SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_S24_LE)
SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_S24_LE)
static
struct
snd_soc_dai_ops
tas5720_speaker_dai_ops
=
{
static
const
struct
snd_soc_dai_ops
tas5720_speaker_dai_ops
=
{
.
hw_params
=
tas5720_hw_params
,
.
hw_params
=
tas5720_hw_params
,
.
set_fmt
=
tas5720_set_dai_fmt
,
.
set_fmt
=
tas5720_set_dai_fmt
,
.
set_tdm_slot
=
tas5720_set_dai_tdm_slot
,
.
set_tdm_slot
=
tas5720_set_dai_tdm_slot
,
...
...
sound/soc/codecs/zx_aud96p22.c
View file @
0314f694
...
@@ -312,7 +312,7 @@ static int aud96p22_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
...
@@ -312,7 +312,7 @@ static int aud96p22_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
return
0
;
return
0
;
}
}
static
struct
snd_soc_dai_ops
aud96p22_dai_ops
=
{
static
const
struct
snd_soc_dai_ops
aud96p22_dai_ops
=
{
.
set_fmt
=
aud96p22_set_fmt
,
.
set_fmt
=
aud96p22_set_fmt
,
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment