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
Kirill Smelkov
linux
Commits
2c54c158
Commit
2c54c158
authored
Nov 25, 2010
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-2.6.37' into for-2.6.38
parents
b26bb71f
8b6b30ab
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
53 additions
and
22 deletions
+53
-22
sound/soc/atmel/sam9g20_wm8731.c
sound/soc/atmel/sam9g20_wm8731.c
+4
-1
sound/soc/atmel/snd-soc-afeb9260.c
sound/soc/atmel/snd-soc-afeb9260.c
+0
-1
sound/soc/davinci/davinci-vcif.c
sound/soc/davinci/davinci-vcif.c
+3
-0
sound/soc/ep93xx/simone.c
sound/soc/ep93xx/simone.c
+10
-8
sound/soc/fsl/efika-audio-fabric.c
sound/soc/fsl/efika-audio-fabric.c
+1
-0
sound/soc/fsl/pcm030-audio-fabric.c
sound/soc/fsl/pcm030-audio-fabric.c
+1
-0
sound/soc/imx/imx-ssi.c
sound/soc/imx/imx-ssi.c
+11
-4
sound/soc/imx/phycore-ac97.c
sound/soc/imx/phycore-ac97.c
+21
-7
sound/soc/pxa/Kconfig
sound/soc/pxa/Kconfig
+1
-0
sound/soc/sh/ssi.c
sound/soc/sh/ssi.c
+1
-1
No files found.
sound/soc/atmel/sam9g20_wm8731.c
View file @
2c54c158
...
...
@@ -240,6 +240,7 @@ static int __init at91sam9g20ek_init(void)
if
(
!
at91sam9g20ek_snd_device
)
{
printk
(
KERN_ERR
"ASoC: Platform device allocation failed
\n
"
);
ret
=
-
ENOMEM
;
goto
err_mclk
;
}
platform_set_drvdata
(
at91sam9g20ek_snd_device
,
...
...
@@ -248,11 +249,13 @@ static int __init at91sam9g20ek_init(void)
ret
=
platform_device_add
(
at91sam9g20ek_snd_device
);
if
(
ret
)
{
printk
(
KERN_ERR
"ASoC: Platform device allocation failed
\n
"
);
platform_device_put
(
at91sam9g20ek_snd_device
)
;
goto
err_device_add
;
}
return
ret
;
err_device_add:
platform_device_put
(
at91sam9g20ek_snd_device
);
err_mclk:
clk_put
(
mclk
);
mclk
=
NULL
;
...
...
sound/soc/atmel/snd-soc-afeb9260.c
View file @
2c54c158
...
...
@@ -167,7 +167,6 @@ static int __init afeb9260_soc_init(void)
return
0
;
err1:
platform_device_del
(
afeb9260_snd_device
);
platform_device_put
(
afeb9260_snd_device
);
return
err
;
}
...
...
sound/soc/davinci/davinci-vcif.c
View file @
2c54c158
...
...
@@ -247,7 +247,10 @@ static int davinci_vcif_probe(struct platform_device *pdev)
static
int
davinci_vcif_remove
(
struct
platform_device
*
pdev
)
{
struct
davinci_vcif_dev
*
davinci_vcif_dev
=
dev_get_drvdata
(
&
pdev
->
dev
);
snd_soc_unregister_dai
(
&
pdev
->
dev
);
kfree
(
davinci_vcif_dev
);
return
0
;
}
...
...
sound/soc/ep93xx/simone.c
View file @
2c54c158
...
...
@@ -54,24 +54,26 @@ static int __init simone_init(void)
ret
=
platform_device_add
(
simone_snd_ac97_device
);
if
(
ret
)
goto
fail
;
goto
fail
1
;
simone_snd_device
=
platform_device_alloc
(
"soc-audio"
,
-
1
);
if
(
!
simone_snd_device
)
{
ret
=
-
ENOMEM
;
goto
fail
;
goto
fail
2
;
}
platform_set_drvdata
(
simone_snd_device
,
&
snd_soc_simone
);
ret
=
platform_device_add
(
simone_snd_device
);
if
(
ret
)
{
platform_device_put
(
simone_snd_device
);
goto
fail
;
}
if
(
ret
)
goto
fail3
;
return
ret
;
return
0
;
fail:
fail3:
platform_device_put
(
simone_snd_device
);
fail2:
platform_device_del
(
simone_snd_ac97_device
);
fail1:
platform_device_put
(
simone_snd_ac97_device
);
return
ret
;
}
...
...
sound/soc/fsl/efika-audio-fabric.c
View file @
2c54c158
...
...
@@ -76,6 +76,7 @@ static __init int efika_fabric_init(void)
rc
=
platform_device_add
(
pdev
);
if
(
rc
)
{
pr_err
(
"efika_fabric_init: platform_device_add() failed
\n
"
);
platform_device_put
(
pdev
);
return
-
ENODEV
;
}
return
0
;
...
...
sound/soc/fsl/pcm030-audio-fabric.c
View file @
2c54c158
...
...
@@ -76,6 +76,7 @@ static __init int pcm030_fabric_init(void)
rc
=
platform_device_add
(
pdev
);
if
(
rc
)
{
pr_err
(
"pcm030_fabric_init: platform_device_add() failed
\n
"
);
platform_device_put
(
pdev
);
return
-
ENODEV
;
}
return
0
;
...
...
sound/soc/imx/imx-ssi.c
View file @
2c54c158
...
...
@@ -679,8 +679,11 @@ static int imx_ssi_probe(struct platform_device *pdev)
}
ssi
->
soc_platform_pdev_fiq
=
platform_device_alloc
(
"imx-fiq-pcm-audio"
,
pdev
->
id
);
if
(
!
ssi
->
soc_platform_pdev_fiq
)
if
(
!
ssi
->
soc_platform_pdev_fiq
)
{
ret
=
-
ENOMEM
;
goto
failed_pdev_fiq_alloc
;
}
platform_set_drvdata
(
ssi
->
soc_platform_pdev_fiq
,
ssi
);
ret
=
platform_device_add
(
ssi
->
soc_platform_pdev_fiq
);
if
(
ret
)
{
...
...
@@ -689,8 +692,11 @@ static int imx_ssi_probe(struct platform_device *pdev)
}
ssi
->
soc_platform_pdev
=
platform_device_alloc
(
"imx-pcm-audio"
,
pdev
->
id
);
if
(
!
ssi
->
soc_platform_pdev
)
if
(
!
ssi
->
soc_platform_pdev
)
{
ret
=
-
ENOMEM
;
goto
failed_pdev_alloc
;
}
platform_set_drvdata
(
ssi
->
soc_platform_pdev
,
ssi
);
ret
=
platform_device_add
(
ssi
->
soc_platform_pdev
);
if
(
ret
)
{
...
...
@@ -703,6 +709,7 @@ static int imx_ssi_probe(struct platform_device *pdev)
failed_pdev_add:
platform_device_put
(
ssi
->
soc_platform_pdev
);
failed_pdev_alloc:
platform_device_del
(
ssi
->
soc_platform_pdev_fiq
);
failed_pdev_fiq_add:
platform_device_put
(
ssi
->
soc_platform_pdev_fiq
);
failed_pdev_fiq_alloc:
...
...
@@ -726,8 +733,8 @@ static int __devexit imx_ssi_remove(struct platform_device *pdev)
struct
resource
*
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
);
struct
imx_ssi
*
ssi
=
platform_get_drvdata
(
pdev
);
platform_device_
del
(
ssi
->
soc_platform_pdev
);
platform_device_
put
(
ssi
->
soc_platform_pdev
);
platform_device_
unregister
(
ssi
->
soc_platform_pdev
);
platform_device_
unregister
(
ssi
->
soc_platform_pdev_fiq
);
snd_soc_unregister_dai
(
&
pdev
->
dev
);
...
...
sound/soc/imx/phycore-ac97.c
View file @
2c54c158
...
...
@@ -42,6 +42,7 @@ static struct snd_soc_card imx_phycore = {
.
num_links
=
ARRAY_SIZE
(
imx_phycore_dai_ac97
),
};
static
struct
platform_device
*
imx_phycore_snd_ac97_device
;
static
struct
platform_device
*
imx_phycore_snd_device
;
static
int
__init
imx_phycore_init
(
void
)
...
...
@@ -52,29 +53,42 @@ static int __init imx_phycore_init(void)
/* return happy. We might run on a totally different machine */
return
0
;
imx_phycore_snd_device
=
platform_device_alloc
(
"soc-audio"
,
-
1
);
if
(
!
imx_phycore_snd_device
)
imx_phycore_snd_
ac97_
device
=
platform_device_alloc
(
"soc-audio"
,
-
1
);
if
(
!
imx_phycore_snd_
ac97_
device
)
return
-
ENOMEM
;
platform_set_drvdata
(
imx_phycore_snd_device
,
&
imx_phycore
);
ret
=
platform_device_add
(
imx_phycore_snd_device
);
platform_set_drvdata
(
imx_phycore_snd_ac97_device
,
&
imx_phycore
);
ret
=
platform_device_add
(
imx_phycore_snd_ac97_device
);
if
(
ret
)
goto
fail1
;
imx_phycore_snd_device
=
platform_device_alloc
(
"wm9712-codec"
,
-
1
);
if
(
!
imx_phycore_snd_device
)
return
-
ENOMEM
;
if
(
!
imx_phycore_snd_device
)
{
ret
=
-
ENOMEM
;
goto
fail2
;
}
ret
=
platform_device_add
(
imx_phycore_snd_device
);
if
(
ret
)
{
printk
(
KERN_ERR
"ASoC: Platform device allocation failed
\n
"
);
platform_device_put
(
imx_phycore_snd_device
)
;
goto
fail3
;
}
return
0
;
fail3:
platform_device_put
(
imx_phycore_snd_device
);
fail2:
platform_device_del
(
imx_phycore_snd_ac97_device
);
fail1:
platform_device_put
(
imx_phycore_snd_ac97_device
);
return
ret
;
}
static
void
__exit
imx_phycore_exit
(
void
)
{
platform_device_unregister
(
imx_phycore_snd_device
);
platform_device_unregister
(
imx_phycore_snd_ac97_device
);
}
late_initcall
(
imx_phycore_init
);
...
...
sound/soc/pxa/Kconfig
View file @
2c54c158
config SND_PXA2XX_SOC
tristate "SoC Audio for the Intel PXA2xx chip"
depends on ARCH_PXA
select SND_ARM
select SND_PXA2XX_LIB
help
Say Y or M if you want to add support for codecs attached to
...
...
sound/soc/sh/ssi.c
View file @
2c54c158
...
...
@@ -387,7 +387,7 @@ static int __devinit sh4_soc_dai_probe(struct platform_device *pdev)
static
int
__devexit
sh4_soc_dai_remove
(
struct
platform_device
*
pdev
)
{
snd_soc_unregister_dai
(
&
pdev
->
dev
,
ARRAY_SIZE
(
sh4_ssi_dai
));
snd_soc_unregister_dai
s
(
&
pdev
->
dev
,
ARRAY_SIZE
(
sh4_ssi_dai
));
return
0
;
}
...
...
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