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
686b3771
Commit
686b3771
authored
Oct 24, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/fsl' into asoc-linus
parents
31d141e3
5a6e19be
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
13 deletions
+16
-13
sound/soc/fsl/fsl_ssi.c
sound/soc/fsl/fsl_ssi.c
+1
-1
sound/soc/fsl/imx-mc13783.c
sound/soc/fsl/imx-mc13783.c
+1
-1
sound/soc/fsl/imx-ssi.c
sound/soc/fsl/imx-ssi.c
+12
-11
sound/soc/fsl/imx-ssi.h
sound/soc/fsl/imx-ssi.h
+2
-0
No files found.
sound/soc/fsl/fsl_ssi.c
View file @
686b3771
...
...
@@ -936,7 +936,7 @@ static int fsl_ssi_probe(struct platform_device *pdev)
ssi_private
->
ssi_phys
=
res
.
start
;
ssi_private
->
irq
=
irq_of_parse_and_map
(
np
,
0
);
if
(
ssi_private
->
irq
==
NO_IRQ
)
{
if
(
ssi_private
->
irq
==
0
)
{
dev_err
(
&
pdev
->
dev
,
"no irq for node %s
\n
"
,
np
->
full_name
);
return
-
ENXIO
;
}
...
...
sound/soc/fsl/imx-mc13783.c
View file @
686b3771
...
...
@@ -112,7 +112,7 @@ static int imx_mc13783_probe(struct platform_device *pdev)
return
ret
;
}
if
(
machine_is_mx31_3ds
())
{
if
(
machine_is_mx31_3ds
()
||
machine_is_mx31moboard
()
)
{
imx_audmux_v2_configure_port
(
MX31_AUDMUX_PORT4_SSI_PINS_4
,
IMX_AUDMUX_V2_PTCR_SYN
,
IMX_AUDMUX_V2_PDCR_RXDSEL
(
MX31_AUDMUX_PORT1_SSI0
)
|
...
...
sound/soc/fsl/imx-ssi.c
View file @
686b3771
...
...
@@ -600,19 +600,17 @@ static int imx_ssi_probe(struct platform_device *pdev)
ssi
->
fiq_params
.
dma_params_rx
=
&
ssi
->
dma_params_rx
;
ssi
->
fiq_params
.
dma_params_tx
=
&
ssi
->
dma_params_tx
;
ret
=
imx_pcm_fiq_init
(
pdev
,
&
ssi
->
fiq_params
);
if
(
ret
)
goto
failed_pcm_fiq
;
ssi
->
fiq_init
=
imx_pcm_fiq_init
(
pdev
,
&
ssi
->
fiq_params
);
ssi
->
dma_init
=
imx_pcm_dma_init
(
pdev
);
ret
=
imx_pcm_dma_init
(
pdev
);
if
(
ret
)
goto
failed_pcm_dma
;
if
(
ssi
->
fiq_init
&&
ssi
->
dma_init
)
{
ret
=
ssi
->
fiq_init
;
goto
failed_pcm
;
}
return
0
;
failed_pcm_dma:
imx_pcm_fiq_exit
(
pdev
);
failed_pcm_fiq:
failed_pcm:
snd_soc_unregister_component
(
&
pdev
->
dev
);
failed_register:
release_mem_region
(
res
->
start
,
resource_size
(
res
));
...
...
@@ -628,7 +626,10 @@ static int 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
);
if
(
!
ssi
->
dma_init
)
imx_pcm_dma_exit
(
pdev
);
if
(
!
ssi
->
fiq_init
)
imx_pcm_fiq_exit
(
pdev
);
snd_soc_unregister_component
(
&
pdev
->
dev
);
...
...
sound/soc/fsl/imx-ssi.h
View file @
686b3771
...
...
@@ -211,6 +211,8 @@ struct imx_ssi {
struct
imx_dma_data
filter_data_rx
;
struct
imx_pcm_fiq_params
fiq_params
;
int
fiq_init
;
int
dma_init
;
int
enabled
;
};
...
...
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