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
844ec314
Commit
844ec314
authored
Dec 15, 2011
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/asoc' into for-linus
parents
645e9035
497d4965
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
14 additions
and
5 deletions
+14
-5
sound/soc/codecs/Kconfig
sound/soc/codecs/Kconfig
+1
-1
sound/soc/codecs/jz4740.c
sound/soc/codecs/jz4740.c
+1
-0
sound/soc/codecs/wm8958-dsp2.c
sound/soc/codecs/wm8958-dsp2.c
+2
-0
sound/soc/codecs/wm8996.c
sound/soc/codecs/wm8996.c
+1
-0
sound/soc/mxs/mxs-pcm.c
sound/soc/mxs/mxs-pcm.c
+3
-0
sound/soc/mxs/mxs-sgtl5000.c
sound/soc/mxs/mxs-sgtl5000.c
+1
-0
sound/soc/pxa/hx4700.c
sound/soc/pxa/hx4700.c
+3
-2
sound/soc/samsung/jive_wm8750.c
sound/soc/samsung/jive_wm8750.c
+1
-2
sound/soc/samsung/smdk2443_wm9710.c
sound/soc/samsung/smdk2443_wm9710.c
+1
-0
No files found.
sound/soc/codecs/Kconfig
View file @
844ec314
...
@@ -33,7 +33,7 @@ config SND_SOC_ALL_CODECS
...
@@ -33,7 +33,7 @@ config SND_SOC_ALL_CODECS
select SND_SOC_CX20442
select SND_SOC_CX20442
select SND_SOC_DA7210 if I2C
select SND_SOC_DA7210 if I2C
select SND_SOC_DFBMCS320
select SND_SOC_DFBMCS320
select SND_SOC_JZ4740_CODEC
if SOC_JZ4740
select SND_SOC_JZ4740_CODEC
select SND_SOC_LM4857 if I2C
select SND_SOC_LM4857 if I2C
select SND_SOC_MAX98088 if I2C
select SND_SOC_MAX98088 if I2C
select SND_SOC_MAX98095 if I2C
select SND_SOC_MAX98095 if I2C
...
...
sound/soc/codecs/jz4740.c
View file @
844ec314
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
#include <linux/module.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/delay.h>
...
...
sound/soc/codecs/wm8958-dsp2.c
View file @
844ec314
...
@@ -60,6 +60,8 @@ static int wm8958_dsp2_fw(struct snd_soc_codec *codec, const char *name,
...
@@ -60,6 +60,8 @@ static int wm8958_dsp2_fw(struct snd_soc_codec *codec, const char *name,
}
}
if
(
memcmp
(
fw
->
data
,
"WMFW"
,
4
)
!=
0
)
{
if
(
memcmp
(
fw
->
data
,
"WMFW"
,
4
)
!=
0
)
{
memcpy
(
&
data32
,
fw
->
data
,
sizeof
(
data32
));
data32
=
be32_to_cpu
(
data32
);
dev_err
(
codec
->
dev
,
"%s: firmware has bad file magic %08x
\n
"
,
dev_err
(
codec
->
dev
,
"%s: firmware has bad file magic %08x
\n
"
,
name
,
data32
);
name
,
data32
);
goto
err
;
goto
err
;
...
...
sound/soc/codecs/wm8996.c
View file @
844ec314
...
@@ -1968,6 +1968,7 @@ static int wm8996_set_sysclk(struct snd_soc_dai *dai,
...
@@ -1968,6 +1968,7 @@ static int wm8996_set_sysclk(struct snd_soc_dai *dai,
break
;
break
;
case
24576000
:
case
24576000
:
ratediv
=
WM8996_SYSCLK_DIV
;
ratediv
=
WM8996_SYSCLK_DIV
;
wm8996
->
sysclk
/=
2
;
case
12288000
:
case
12288000
:
snd_soc_update_bits
(
codec
,
WM8996_AIF_RATE
,
snd_soc_update_bits
(
codec
,
WM8996_AIF_RATE
,
WM8996_SYSCLK_RATE
,
WM8996_SYSCLK_RATE
);
WM8996_SYSCLK_RATE
,
WM8996_SYSCLK_RATE
);
...
...
sound/soc/mxs/mxs-pcm.c
View file @
844ec314
...
@@ -357,3 +357,6 @@ static void __exit snd_mxs_pcm_exit(void)
...
@@ -357,3 +357,6 @@ static void __exit snd_mxs_pcm_exit(void)
platform_driver_unregister
(
&
mxs_pcm_driver
);
platform_driver_unregister
(
&
mxs_pcm_driver
);
}
}
module_exit
(
snd_mxs_pcm_exit
);
module_exit
(
snd_mxs_pcm_exit
);
MODULE_LICENSE
(
"GPL"
);
MODULE_ALIAS
(
"platform:mxs-pcm-audio"
);
sound/soc/mxs/mxs-sgtl5000.c
View file @
844ec314
...
@@ -171,3 +171,4 @@ module_exit(mxs_sgtl5000_exit);
...
@@ -171,3 +171,4 @@ module_exit(mxs_sgtl5000_exit);
MODULE_AUTHOR
(
"Freescale Semiconductor, Inc."
);
MODULE_AUTHOR
(
"Freescale Semiconductor, Inc."
);
MODULE_DESCRIPTION
(
"MXS ALSA SoC Machine driver"
);
MODULE_DESCRIPTION
(
"MXS ALSA SoC Machine driver"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_ALIAS
(
"platform:mxs-sgtl5000"
);
sound/soc/pxa/hx4700.c
View file @
844ec314
...
@@ -209,9 +209,10 @@ static int __devinit hx4700_audio_probe(struct platform_device *pdev)
...
@@ -209,9 +209,10 @@ static int __devinit hx4700_audio_probe(struct platform_device *pdev)
snd_soc_card_hx4700
.
dev
=
&
pdev
->
dev
;
snd_soc_card_hx4700
.
dev
=
&
pdev
->
dev
;
ret
=
snd_soc_register_card
(
&
snd_soc_card_hx4700
);
ret
=
snd_soc_register_card
(
&
snd_soc_card_hx4700
);
if
(
ret
)
if
(
ret
)
return
ret
;
gpio_free_array
(
hx4700_audio_gpios
,
ARRAY_SIZE
(
hx4700_audio_gpios
));
return
0
;
return
ret
;
}
}
static
int
__devexit
hx4700_audio_remove
(
struct
platform_device
*
pdev
)
static
int
__devexit
hx4700_audio_remove
(
struct
platform_device
*
pdev
)
...
...
sound/soc/samsung/jive_wm8750.c
View file @
844ec314
...
@@ -101,7 +101,6 @@ static int jive_wm8750_init(struct snd_soc_pcm_runtime *rtd)
...
@@ -101,7 +101,6 @@ static int jive_wm8750_init(struct snd_soc_pcm_runtime *rtd)
{
{
struct
snd_soc_codec
*
codec
=
rtd
->
codec
;
struct
snd_soc_codec
*
codec
=
rtd
->
codec
;
struct
snd_soc_dapm_context
*
dapm
=
&
codec
->
dapm
;
struct
snd_soc_dapm_context
*
dapm
=
&
codec
->
dapm
;
int
err
;
/* These endpoints are not being used. */
/* These endpoints are not being used. */
snd_soc_dapm_nc_pin
(
dapm
,
"LINPUT2"
);
snd_soc_dapm_nc_pin
(
dapm
,
"LINPUT2"
);
...
@@ -131,7 +130,7 @@ static struct snd_soc_card snd_soc_machine_jive = {
...
@@ -131,7 +130,7 @@ static struct snd_soc_card snd_soc_machine_jive = {
.
dai_link
=
&
jive_dai
,
.
dai_link
=
&
jive_dai
,
.
num_links
=
1
,
.
num_links
=
1
,
.
dapm_widg
t
ets
=
wm8750_dapm_widgets
,
.
dapm_widgets
=
wm8750_dapm_widgets
,
.
num_dapm_widgets
=
ARRAY_SIZE
(
wm8750_dapm_widgets
),
.
num_dapm_widgets
=
ARRAY_SIZE
(
wm8750_dapm_widgets
),
.
dapm_routes
=
audio_map
,
.
dapm_routes
=
audio_map
,
.
num_dapm_routes
=
ARRAY_SIZE
(
audio_map
),
.
num_dapm_routes
=
ARRAY_SIZE
(
audio_map
),
...
...
sound/soc/samsung/smdk2443_wm9710.c
View file @
844ec314
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
*
*
*/
*/
#include <linux/module.h>
#include <sound/soc.h>
#include <sound/soc.h>
static
struct
snd_soc_card
smdk2443
;
static
struct
snd_soc_card
smdk2443
;
...
...
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