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
df00b71f
Commit
df00b71f
authored
Apr 12, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/samsung' into asoc-next
parents
8c7df021
32873b59
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
24 additions
and
21 deletions
+24
-21
arch/arm/mach-s3c24xx/dma-s3c2410.c
arch/arm/mach-s3c24xx/dma-s3c2410.c
+0
-2
arch/arm/mach-s3c24xx/dma-s3c2412.c
arch/arm/mach-s3c24xx/dma-s3c2412.c
+0
-2
arch/arm/mach-s3c24xx/dma-s3c2440.c
arch/arm/mach-s3c24xx/dma-s3c2440.c
+0
-2
arch/arm/mach-s3c24xx/dma-s3c2443.c
arch/arm/mach-s3c24xx/dma-s3c2443.c
+0
-2
arch/arm/plat-samsung/devs.c
arch/arm/plat-samsung/devs.c
+6
-0
sound/soc/samsung/Kconfig
sound/soc/samsung/Kconfig
+2
-3
sound/soc/samsung/ac97.c
sound/soc/samsung/ac97.c
+1
-1
sound/soc/samsung/h1940_uda1380.c
sound/soc/samsung/h1940_uda1380.c
+1
-1
sound/soc/samsung/i2s.c
sound/soc/samsung/i2s.c
+1
-1
sound/soc/samsung/idma.c
sound/soc/samsung/idma.c
+9
-2
sound/soc/samsung/neo1973_wm8753.c
sound/soc/samsung/neo1973_wm8753.c
+1
-2
sound/soc/samsung/regs-ac97.h
sound/soc/samsung/regs-ac97.h
+0
-0
sound/soc/samsung/regs-iis.h
sound/soc/samsung/regs-iis.h
+0
-0
sound/soc/samsung/rx1950_uda1380.c
sound/soc/samsung/rx1950_uda1380.c
+1
-1
sound/soc/samsung/s3c24xx-i2s.c
sound/soc/samsung/s3c24xx-i2s.c
+1
-1
sound/soc/samsung/s3c24xx_uda134x.c
sound/soc/samsung/s3c24xx_uda134x.c
+1
-1
No files found.
arch/arm/mach-s3c24xx/dma-s3c2410.c
View file @
df00b71f
...
...
@@ -25,11 +25,9 @@
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <plat/regs-ac97.h>
#include <plat/regs-dma.h>
#include <mach/regs-lcd.h>
#include <mach/regs-sdi.h>
#include <plat/regs-iis.h>
#include <plat/regs-spi.h>
static
struct
s3c24xx_dma_map
__initdata
s3c2410_dma_mappings
[]
=
{
...
...
arch/arm/mach-s3c24xx/dma-s3c2412.c
View file @
df00b71f
...
...
@@ -25,11 +25,9 @@
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <plat/regs-ac97.h>
#include <plat/regs-dma.h>
#include <mach/regs-lcd.h>
#include <mach/regs-sdi.h>
#include <plat/regs-iis.h>
#include <plat/regs-spi.h>
#define MAP(x) { (x)| DMA_CH_VALID, (x)| DMA_CH_VALID, (x)| DMA_CH_VALID, (x)| DMA_CH_VALID }
...
...
arch/arm/mach-s3c24xx/dma-s3c2440.c
View file @
df00b71f
...
...
@@ -25,11 +25,9 @@
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <plat/regs-ac97.h>
#include <plat/regs-dma.h>
#include <mach/regs-lcd.h>
#include <mach/regs-sdi.h>
#include <plat/regs-iis.h>
#include <plat/regs-spi.h>
static
struct
s3c24xx_dma_map
__initdata
s3c2440_dma_mappings
[]
=
{
...
...
arch/arm/mach-s3c24xx/dma-s3c2443.c
View file @
df00b71f
...
...
@@ -25,11 +25,9 @@
#include <plat/regs-serial.h>
#include <mach/regs-gpio.h>
#include <plat/regs-ac97.h>
#include <plat/regs-dma.h>
#include <mach/regs-lcd.h>
#include <mach/regs-sdi.h>
#include <plat/regs-iis.h>
#include <plat/regs-spi.h>
#define MAP(x) { \
...
...
arch/arm/plat-samsung/devs.c
View file @
df00b71f
...
...
@@ -146,14 +146,20 @@ struct platform_device s3c_device_camif = {
/* ASOC DMA */
#ifdef CONFIG_PLAT_S5P
static
struct
resource
samsung_asoc_idma_resource
=
DEFINE_RES_IRQ
(
IRQ_I2S0
);
struct
platform_device
samsung_asoc_idma
=
{
.
name
=
"samsung-idma"
,
.
id
=
-
1
,
.
num_resources
=
1
,
.
resource
=
&
samsung_asoc_idma_resource
,
.
dev
=
{
.
dma_mask
=
&
samsung_device_dma_mask
,
.
coherent_dma_mask
=
DMA_BIT_MASK
(
32
),
}
};
#endif
/* FB */
...
...
sound/soc/samsung/Kconfig
View file @
df00b71f
...
...
@@ -35,11 +35,10 @@ config SND_SAMSUNG_I2S
tristate
config SND_SOC_SAMSUNG_NEO1973_WM8753
tristate "Audio support for Openmoko Neo1973 Smartphones (GTA0
1/GTA0
2)"
depends on SND_SOC_SAMSUNG &&
(MACH_NEO1973_GTA01 || MACH_NEO1973_GTA02)
tristate "Audio support for Openmoko Neo1973 Smartphones (GTA02)"
depends on SND_SOC_SAMSUNG &&
MACH_NEO1973_GTA02
select SND_S3C24XX_I2S
select SND_SOC_WM8753
select SND_SOC_LM4857 if MACH_NEO1973_GTA01
select SND_SOC_DFBMCS320
help
Say Y here to enable audio support for the Openmoko Neo1973
...
...
sound/soc/samsung/ac97.c
View file @
df00b71f
...
...
@@ -20,7 +20,7 @@
#include <sound/soc.h>
#include <mach/dma.h>
#include
<plat/regs-ac97.h>
#include
"regs-ac97.h"
#include <linux/platform_data/asoc-s3c.h>
#include "dma.h"
...
...
sound/soc/samsung/h1940_uda1380.c
View file @
df00b71f
...
...
@@ -20,7 +20,7 @@
#include <sound/soc.h>
#include <sound/jack.h>
#include
<plat/regs-iis.h>
#include
"regs-iis.h"
#include <asm/mach-types.h>
#include "s3c24xx-i2s.h"
...
...
sound/soc/samsung/i2s.c
View file @
df00b71f
...
...
@@ -1304,7 +1304,7 @@ static struct platform_device_id samsung_i2s_driver_ids[] = {
},
{},
};
MODULE_DEVICE_TABLE
(
platform
,
samsung
-
i2s
-
driver
-
ids
);
MODULE_DEVICE_TABLE
(
platform
,
samsung
_i2s_driver_
ids
);
#ifdef CONFIG_OF
static
struct
samsung_i2s_dai_data
samsung_i2s_dai_data_array
[]
=
{
...
...
sound/soc/samsung/idma.c
View file @
df00b71f
...
...
@@ -68,6 +68,8 @@ static struct idma_info {
dma_addr_t
lp_tx_addr
;
}
idma
;
static
int
idma_irq
;
static
void
idma_getpos
(
dma_addr_t
*
src
)
{
*
src
=
idma
.
lp_tx_addr
+
...
...
@@ -305,7 +307,7 @@ static int idma_open(struct snd_pcm_substream *substream)
if
(
prtd
==
NULL
)
return
-
ENOMEM
;
ret
=
request_irq
(
IRQ_I2S0
,
iis_irq
,
0
,
"i2s"
,
prtd
);
ret
=
request_irq
(
idma_irq
,
iis_irq
,
0
,
"i2s"
,
prtd
);
if
(
ret
<
0
)
{
pr_err
(
"fail to claim i2s irq , ret = %d
\n
"
,
ret
);
kfree
(
prtd
);
...
...
@@ -324,7 +326,7 @@ static int idma_close(struct snd_pcm_substream *substream)
struct
snd_pcm_runtime
*
runtime
=
substream
->
runtime
;
struct
idma_ctrl
*
prtd
=
runtime
->
private_data
;
free_irq
(
IRQ_I2S0
,
prtd
);
free_irq
(
idma_irq
,
prtd
);
if
(
!
prtd
)
pr_err
(
"idma_close called with prtd == NULL
\n
"
);
...
...
@@ -409,6 +411,7 @@ void idma_reg_addr_init(void __iomem *regs, dma_addr_t addr)
idma
.
regs
=
regs
;
idma
.
lp_tx_addr
=
addr
;
}
EXPORT_SYMBOL_GPL
(
idma_reg_addr_init
);
static
struct
snd_soc_platform_driver
asoc_idma_platform
=
{
.
ops
=
&
idma_ops
,
...
...
@@ -418,6 +421,10 @@ static struct snd_soc_platform_driver asoc_idma_platform = {
static
int
asoc_idma_platform_probe
(
struct
platform_device
*
pdev
)
{
idma_irq
=
platform_get_irq
(
pdev
,
0
);
if
(
idma_irq
<
0
)
return
idma_irq
;
return
snd_soc_register_platform
(
&
pdev
->
dev
,
&
asoc_idma_platform
);
}
...
...
sound/soc/samsung/neo1973_wm8753.c
View file @
df00b71f
...
...
@@ -21,8 +21,7 @@
#include <sound/soc.h>
#include <asm/mach-types.h>
#include <plat/regs-iis.h>
#include <mach/gta02.h>
#include "regs-iis.h"
#include "../codecs/wm8753.h"
#include "s3c24xx-i2s.h"
...
...
arch/arm/plat-samsung/include/plat
/regs-ac97.h
→
sound/soc/samsung
/regs-ac97.h
View file @
df00b71f
File moved
arch/arm/plat-samsung/include/plat
/regs-iis.h
→
sound/soc/samsung
/regs-iis.h
View file @
df00b71f
File moved
sound/soc/samsung/rx1950_uda1380.c
View file @
df00b71f
...
...
@@ -24,7 +24,7 @@
#include <sound/soc.h>
#include <sound/jack.h>
#include
<plat/regs-iis.h>
#include
"regs-iis.h"
#include <asm/mach-types.h>
#include "s3c24xx-i2s.h"
...
...
sound/soc/samsung/s3c24xx-i2s.c
View file @
df00b71f
...
...
@@ -24,7 +24,7 @@
#include <sound/pcm_params.h>
#include <mach/dma.h>
#include
<plat/regs-iis.h>
#include
"regs-iis.h"
#include "dma.h"
#include "s3c24xx-i2s.h"
...
...
sound/soc/samsung/s3c24xx_uda134x.c
View file @
df00b71f
...
...
@@ -18,7 +18,7 @@
#include <sound/soc.h>
#include <sound/s3c24xx_uda134x.h>
#include
<plat/regs-iis.h>
#include
"regs-iis.h"
#include "s3c24xx-i2s.h"
...
...
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