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
c012cdc8
Commit
c012cdc8
authored
Aug 12, 2011
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/asoc' into for-linus
parents
15439bde
f6b864a9
Changes
18
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
526 additions
and
19 deletions
+526
-19
MAINTAINERS
MAINTAINERS
+1
-1
include/sound/tlv320aic3x.h
include/sound/tlv320aic3x.h
+1
-1
sound/soc/codecs/wm8750.c
sound/soc/codecs/wm8750.c
+8
-0
sound/soc/codecs/wm8903.c
sound/soc/codecs/wm8903.c
+5
-0
sound/soc/codecs/wm8994.c
sound/soc/codecs/wm8994.c
+1
-0
sound/soc/omap/n810.c
sound/soc/omap/n810.c
+2
-2
sound/soc/omap/omap-mcbsp.c
sound/soc/omap/omap-mcbsp.c
+2
-2
sound/soc/omap/omap-mcbsp.h
sound/soc/omap/omap-mcbsp.h
+1
-1
sound/soc/omap/omap-pcm.c
sound/soc/omap/omap-pcm.c
+2
-2
sound/soc/omap/omap-pcm.h
sound/soc/omap/omap-pcm.h
+1
-1
sound/soc/omap/rx51.c
sound/soc/omap/rx51.c
+1
-1
sound/soc/samsung/Makefile
sound/soc/samsung/Makefile
+2
-0
sound/soc/samsung/idma.c
sound/soc/samsung/idma.c
+453
-0
sound/soc/samsung/idma.h
sound/soc/samsung/idma.h
+26
-0
sound/soc/samsung/jive_wm8750.c
sound/soc/samsung/jive_wm8750.c
+1
-1
sound/soc/samsung/speyside_wm8962.c
sound/soc/samsung/speyside_wm8962.c
+1
-1
sound/soc/tegra/tegra_pcm.c
sound/soc/tegra/tegra_pcm.c
+7
-2
sound/soc/tegra/tegra_wm8903.c
sound/soc/tegra/tegra_wm8903.c
+11
-4
No files found.
MAINTAINERS
View file @
c012cdc8
...
...
@@ -4604,7 +4604,7 @@ F: arch/arm/mach-omap2/clockdomain2xxx_3xxx.c
F: arch/arm/mach-omap2/clockdomain44xx.c
OMAP AUDIO SUPPORT
M: Jarkko Nikula <j
hnikula@gmail
.com>
M: Jarkko Nikula <j
arkko.nikula@bitmer
.com>
L: alsa-devel@alsa-project.org (subscribers-only)
L: linux-omap@vger.kernel.org
S: Maintained
...
...
include/sound/tlv320aic3x.h
View file @
c012cdc8
/*
* Platform data for Texas Instruments TLV320AIC3x codec
*
* Author: Jarkko Nikula <j
hnikula@gmail
.com>
* Author: Jarkko Nikula <j
arkko.nikula@bitmer
.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
...
...
sound/soc/codecs/wm8750.c
View file @
c012cdc8
...
...
@@ -778,11 +778,19 @@ static int __devexit wm8750_spi_remove(struct spi_device *spi)
return
0
;
}
static
const
struct
spi_device_id
wm8750_spi_ids
[]
=
{
{
"wm8750"
,
0
},
{
"wm8987"
,
0
},
{
},
};
MODULE_DEVICE_TABLE
(
spi
,
wm8750_spi_ids
);
static
struct
spi_driver
wm8750_spi_driver
=
{
.
driver
=
{
.
name
=
"wm8750-codec"
,
.
owner
=
THIS_MODULE
,
},
.
id_table
=
wm8750_spi_ids
,
.
probe
=
wm8750_spi_probe
,
.
remove
=
__devexit_p
(
wm8750_spi_remove
),
};
...
...
sound/soc/codecs/wm8903.c
View file @
c012cdc8
...
...
@@ -2046,8 +2046,13 @@ static int wm8903_probe(struct snd_soc_codec *codec)
/* power down chip */
static
int
wm8903_remove
(
struct
snd_soc_codec
*
codec
)
{
struct
wm8903_priv
*
wm8903
=
snd_soc_codec_get_drvdata
(
codec
);
wm8903_free_gpio
(
codec
);
wm8903_set_bias_level
(
codec
,
SND_SOC_BIAS_OFF
);
if
(
wm8903
->
irq
)
free_irq
(
wm8903
->
irq
,
codec
);
return
0
;
}
...
...
sound/soc/codecs/wm8994.c
View file @
c012cdc8
...
...
@@ -2981,6 +2981,7 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
wm8994
->
hubs
.
dcs_readback_mode
=
1
;
break
;
}
break
;
case
WM8958
:
wm8994
->
hubs
.
dcs_readback_mode
=
1
;
...
...
sound/soc/omap/n810.c
View file @
c012cdc8
...
...
@@ -3,7 +3,7 @@
*
* Copyright (C) 2008 Nokia Corporation
*
* Contact: Jarkko Nikula <j
hnikula@gmail
.com>
* Contact: Jarkko Nikula <j
arkko.nikula@bitmer
.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
...
...
@@ -402,6 +402,6 @@ static void __exit n810_soc_exit(void)
module_init
(
n810_soc_init
);
module_exit
(
n810_soc_exit
);
MODULE_AUTHOR
(
"Jarkko Nikula <j
hnikula@gmail
.com>"
);
MODULE_AUTHOR
(
"Jarkko Nikula <j
arkko.nikula@bitmer
.com>"
);
MODULE_DESCRIPTION
(
"ALSA SoC Nokia N810"
);
MODULE_LICENSE
(
"GPL"
);
sound/soc/omap/omap-mcbsp.c
View file @
c012cdc8
...
...
@@ -3,7 +3,7 @@
*
* Copyright (C) 2008 Nokia Corporation
*
* Contact: Jarkko Nikula <j
hnikula@gmail
.com>
* Contact: Jarkko Nikula <j
arkko.nikula@bitmer
.com>
* Peter Ujfalusi <peter.ujfalusi@ti.com>
*
* This program is free software; you can redistribute it and/or
...
...
@@ -780,6 +780,6 @@ static void __exit snd_omap_mcbsp_exit(void)
}
module_exit
(
snd_omap_mcbsp_exit
);
MODULE_AUTHOR
(
"Jarkko Nikula <j
hnikula@gmail
.com>"
);
MODULE_AUTHOR
(
"Jarkko Nikula <j
arkko.nikula@bitmer
.com>"
);
MODULE_DESCRIPTION
(
"OMAP I2S SoC Interface"
);
MODULE_LICENSE
(
"GPL"
);
sound/soc/omap/omap-mcbsp.h
View file @
c012cdc8
...
...
@@ -3,7 +3,7 @@
*
* Copyright (C) 2008 Nokia Corporation
*
* Contact: Jarkko Nikula <j
hnikula@gmail
.com>
* Contact: Jarkko Nikula <j
arkko.nikula@bitmer
.com>
* Peter Ujfalusi <peter.ujfalusi@ti.com>
*
* This program is free software; you can redistribute it and/or
...
...
sound/soc/omap/omap-pcm.c
View file @
c012cdc8
...
...
@@ -3,7 +3,7 @@
*
* Copyright (C) 2008 Nokia Corporation
*
* Contact: Jarkko Nikula <j
hnikula@gmail
.com>
* Contact: Jarkko Nikula <j
arkko.nikula@bitmer
.com>
* Peter Ujfalusi <peter.ujfalusi@ti.com>
*
* This program is free software; you can redistribute it and/or
...
...
@@ -436,6 +436,6 @@ static void __exit snd_omap_pcm_exit(void)
}
module_exit
(
snd_omap_pcm_exit
);
MODULE_AUTHOR
(
"Jarkko Nikula <j
hnikula@gmail
.com>"
);
MODULE_AUTHOR
(
"Jarkko Nikula <j
arkko.nikula@bitmer
.com>"
);
MODULE_DESCRIPTION
(
"OMAP PCM DMA module"
);
MODULE_LICENSE
(
"GPL"
);
sound/soc/omap/omap-pcm.h
View file @
c012cdc8
...
...
@@ -3,7 +3,7 @@
*
* Copyright (C) 2008 Nokia Corporation
*
* Contact: Jarkko Nikula <j
hnikula@gmail
.com>
* Contact: Jarkko Nikula <j
arkko.nikula@bitmer
.com>
* Peter Ujfalusi <peter.ujfalusi@ti.com>
*
* This program is free software; you can redistribute it and/or
...
...
sound/soc/omap/rx51.c
View file @
c012cdc8
...
...
@@ -5,7 +5,7 @@
*
* Contact: Peter Ujfalusi <peter.ujfalusi@ti.com>
* Eduardo Valentin <eduardo.valentin@nokia.com>
* Jarkko Nikula <j
hnikula@gmail
.com>
* Jarkko Nikula <j
arkko.nikula@bitmer
.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
...
...
sound/soc/samsung/Makefile
View file @
c012cdc8
# S3c24XX Platform Support
snd-soc-s3c24xx-objs
:=
dma.o
snd-soc-idma-objs
:=
idma.o
snd-soc-s3c24xx-i2s-objs
:=
s3c24xx-i2s.o
snd-soc-s3c2412-i2s-objs
:=
s3c2412-i2s.o
snd-soc-ac97-objs
:=
ac97.o
...
...
@@ -16,6 +17,7 @@ obj-$(CONFIG_SND_S3C_I2SV2_SOC) += snd-soc-s3c-i2s-v2.o
obj-$(CONFIG_SND_SAMSUNG_SPDIF)
+=
snd-soc-samsung-spdif.o
obj-$(CONFIG_SND_SAMSUNG_PCM)
+=
snd-soc-pcm.o
obj-$(CONFIG_SND_SAMSUNG_I2S)
+=
snd-soc-i2s.o
obj-$(CONFIG_SND_SAMSUNG_I2S)
+=
snd-soc-idma.o
# S3C24XX Machine Support
snd-soc-jive-wm8750-objs
:=
jive_wm8750.o
...
...
sound/soc/samsung/idma.c
0 → 100644
View file @
c012cdc8
This diff is collapsed.
Click to expand it.
sound/soc/samsung/idma.h
0 → 100644
View file @
c012cdc8
/*
* sound/soc/samsung/idma.h
*
* Copyright (c) 2011 Samsung Electronics Co., Ltd
* http://www.samsung.com
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/
#ifndef __SND_SOC_SAMSUNG_IDMA_H_
#define __SND_SOC_SAMSUNG_IDMA_H_
extern
void
idma_reg_addr_init
(
void
*
regs
,
dma_addr_t
addr
);
/* dma_state */
#define LPAM_DMA_STOP 0
#define LPAM_DMA_START 1
#define MAX_IDMA_PERIOD (128 * 1024)
#define MAX_IDMA_BUFFER (160 * 1024)
#endif
/* __SND_SOC_SAMSUNG_IDMA_H_ */
sound/soc/samsung/jive_wm8750.c
View file @
c012cdc8
...
...
@@ -131,7 +131,7 @@ static struct snd_soc_dai_link jive_dai = {
.
cpu_dai_name
=
"s3c2412-i2s"
,
.
codec_dai_name
=
"wm8750-hifi"
,
.
platform_name
=
"samsung-audio"
,
.
codec_name
=
"wm8750-codec.0-0
x
1a"
,
.
codec_name
=
"wm8750-codec.0-0
0
1a"
,
.
init
=
jive_wm8750_init
,
.
ops
=
&
jive_ops
,
};
...
...
sound/soc/samsung/speyside_wm8962.c
View file @
c012cdc8
...
...
@@ -37,7 +37,7 @@ static int speyside_wm8962_set_bias_level(struct snd_soc_card *card,
44100
*
256
,
SND_SOC_CLOCK_IN
);
if
(
ret
<
0
)
{
pr_err
(
"Failed to set SYSCLK: %d
\n
"
);
pr_err
(
"Failed to set SYSCLK: %d
\n
"
,
ret
);
return
ret
;
}
}
...
...
sound/soc/tegra/tegra_pcm.c
View file @
c012cdc8
...
...
@@ -309,9 +309,14 @@ static int tegra_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream)
static
void
tegra_pcm_deallocate_dma_buffer
(
struct
snd_pcm
*
pcm
,
int
stream
)
{
struct
snd_pcm_substream
*
substream
=
pcm
->
streams
[
stream
].
substream
;
struct
snd_dma_buffer
*
buf
=
&
substream
->
dma_buffer
;
struct
snd_pcm_substream
*
substream
;
struct
snd_dma_buffer
*
buf
;
substream
=
pcm
->
streams
[
stream
].
substream
;
if
(
!
substream
)
return
;
buf
=
&
substream
->
dma_buffer
;
if
(
!
buf
->
area
)
return
;
...
...
sound/soc/tegra/tegra_wm8903.c
View file @
c012cdc8
...
...
@@ -56,6 +56,7 @@
#define GPIO_HP_MUTE BIT(1)
#define GPIO_INT_MIC_EN BIT(2)
#define GPIO_EXT_MIC_EN BIT(3)
#define GPIO_HP_DET BIT(4)
struct
tegra_wm8903
{
struct
tegra_asoc_utils_data
util_data
;
...
...
@@ -304,6 +305,7 @@ static int tegra_wm8903_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_jack_add_gpios
(
&
tegra_wm8903_hp_jack
,
1
,
&
tegra_wm8903_hp_jack_gpio
);
machine
->
gpio_requested
|=
GPIO_HP_DET
;
}
snd_soc_jack_new
(
codec
,
"Mic Jack"
,
SND_JACK_MICROPHONE
,
...
...
@@ -429,10 +431,10 @@ static int __devexit tegra_wm8903_driver_remove(struct platform_device *pdev)
struct
tegra_wm8903
*
machine
=
snd_soc_card_get_drvdata
(
card
);
struct
tegra_wm8903_platform_data
*
pdata
=
machine
->
pdata
;
snd_soc_unregister_card
(
card
);
tegra_asoc_utils_fini
(
&
machine
->
util_data
);
if
(
machine
->
gpio_requested
&
GPIO_HP_DET
)
snd_soc_jack_free_gpios
(
&
tegra_wm8903_hp_jack
,
1
,
&
tegra_wm8903_hp_jack_gpio
);
if
(
machine
->
gpio_requested
&
GPIO_EXT_MIC_EN
)
gpio_free
(
pdata
->
gpio_ext_mic_en
);
if
(
machine
->
gpio_requested
&
GPIO_INT_MIC_EN
)
...
...
@@ -441,6 +443,11 @@ static int __devexit tegra_wm8903_driver_remove(struct platform_device *pdev)
gpio_free
(
pdata
->
gpio_hp_mute
);
if
(
machine
->
gpio_requested
&
GPIO_SPKR_EN
)
gpio_free
(
pdata
->
gpio_spkr_en
);
machine
->
gpio_requested
=
0
;
snd_soc_unregister_card
(
card
);
tegra_asoc_utils_fini
(
&
machine
->
util_data
);
kfree
(
machine
);
...
...
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