Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
ab05e290
Commit
ab05e290
authored
Jan 05, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/asoc' into for-linus
parents
fe0bdec6
ac11a2b3
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
227 additions
and
217 deletions
+227
-217
sound/soc/codecs/twl4030.c
sound/soc/codecs/twl4030.c
+189
-188
sound/soc/codecs/twl4030.h
sound/soc/codecs/twl4030.h
+7
-0
sound/soc/pxa/pxa2xx-pcm.c
sound/soc/pxa/pxa2xx-pcm.c
+2
-2
sound/soc/soc-core.c
sound/soc/soc-core.c
+24
-22
sound/soc/soc-dapm.c
sound/soc/soc-dapm.c
+5
-5
No files found.
sound/soc/codecs/twl4030.c
View file @
ab05e290
This diff is collapsed.
Click to expand it.
sound/soc/codecs/twl4030.h
View file @
ab05e290
...
...
@@ -147,6 +147,13 @@
#define TWL4030_AVADC_CLK_PRIORITY 0x04
#define TWL4030_ADCR_EN 0x02
/* TWL4030_REG_ADCMICSEL (0x08) Fields */
#define TWL4030_DIGMIC1_EN 0x08
#define TWL4030_TX2IN_SEL 0x04
#define TWL4030_DIGMIC0_EN 0x02
#define TWL4030_TX1IN_SEL 0x01
/* AUDIO_IF (0x0E) Fields */
#define TWL4030_AIF_SLAVE_EN 0x80
...
...
sound/soc/pxa/pxa2xx-pcm.c
View file @
ab05e290
...
...
@@ -61,9 +61,9 @@ static int pxa2xx_pcm_hw_free(struct snd_pcm_substream *substream)
__pxa2xx_pcm_hw_free
(
substream
);
if
(
prtd
->
dma_ch
)
{
if
(
prtd
->
dma_ch
>=
0
)
{
pxa_free_dma
(
prtd
->
dma_ch
);
prtd
->
dma_ch
=
0
;
prtd
->
dma_ch
=
-
1
;
}
return
0
;
...
...
sound/soc/soc-core.c
View file @
ab05e290
...
...
@@ -1300,6 +1300,8 @@ EXPORT_SYMBOL_GPL(snd_soc_test_bits);
/**
* snd_soc_new_pcms - create new sound card and pcms
* @socdev: the SoC audio device
* @idx: ALSA card index
* @xid: card identification
*
* Create a new sound card based upon the codec and interface pcms.
*
...
...
@@ -1472,7 +1474,7 @@ EXPORT_SYMBOL_GPL(snd_soc_set_runtime_hwparams);
* snd_soc_cnew - create new control
* @_template: control template
* @data: control private data
* @l
n
ng_name: control long name
* @l
o
ng_name: control long name
*
* Create a new mixer control from a template control.
*
...
...
@@ -1522,7 +1524,7 @@ EXPORT_SYMBOL_GPL(snd_soc_info_enum_double);
/**
* snd_soc_get_enum_double - enumerated double mixer get callback
* @kcontrol: mixer control
* @u
info
: control element information
* @u
control
: control element information
*
* Callback to get the value of a double enumerated mixer.
*
...
...
@@ -1551,7 +1553,7 @@ EXPORT_SYMBOL_GPL(snd_soc_get_enum_double);
/**
* snd_soc_put_enum_double - enumerated double mixer put callback
* @kcontrol: mixer control
* @u
info
: control element information
* @u
control
: control element information
*
* Callback to set the value of a double enumerated mixer.
*
...
...
@@ -1668,7 +1670,7 @@ EXPORT_SYMBOL_GPL(snd_soc_info_volsw);
/**
* snd_soc_get_volsw - single mixer get callback
* @kcontrol: mixer control
* @u
info
: control element information
* @u
control
: control element information
*
* Callback to get the value of a single mixer control.
*
...
...
@@ -1707,7 +1709,7 @@ EXPORT_SYMBOL_GPL(snd_soc_get_volsw);
/**
* snd_soc_put_volsw - single mixer put callback
* @kcontrol: mixer control
* @u
info
: control element information
* @u
control
: control element information
*
* Callback to set the value of a single mixer control.
*
...
...
@@ -1775,7 +1777,7 @@ EXPORT_SYMBOL_GPL(snd_soc_info_volsw_2r);
/**
* snd_soc_get_volsw_2r - double mixer get callback
* @kcontrol: mixer control
* @u
info
: control element information
* @u
control
: control element information
*
* Callback to get the value of a double mixer control that spans 2 registers.
*
...
...
@@ -1812,7 +1814,7 @@ EXPORT_SYMBOL_GPL(snd_soc_get_volsw_2r);
/**
* snd_soc_put_volsw_2r - double mixer set callback
* @kcontrol: mixer control
* @u
info
: control element information
* @u
control
: control element information
*
* Callback to set the value of a double mixer control that spans 2 registers.
*
...
...
@@ -1882,7 +1884,7 @@ EXPORT_SYMBOL_GPL(snd_soc_info_volsw_s8);
/**
* snd_soc_get_volsw_s8 - signed mixer get callback
* @kcontrol: mixer control
* @u
info
: control element information
* @u
control
: control element information
*
* Callback to get the value of a signed mixer control.
*
...
...
@@ -1909,7 +1911,7 @@ EXPORT_SYMBOL_GPL(snd_soc_get_volsw_s8);
/**
* snd_soc_put_volsw_sgn - signed mixer put callback
* @kcontrol: mixer control
* @u
info
: control element information
* @u
control
: control element information
*
* Callback to set the value of a signed mixer control.
*
...
...
@@ -1954,7 +1956,7 @@ EXPORT_SYMBOL_GPL(snd_soc_dai_set_sysclk);
/**
* snd_soc_dai_set_clkdiv - configure DAI clock dividers.
* @dai: DAI
* @
clk
_id: DAI specific clock divider ID
* @
div
_id: DAI specific clock divider ID
* @div: new clock divisor.
*
* Configures the clock dividers. This is used to derive the best DAI bit and
...
...
@@ -2060,7 +2062,7 @@ EXPORT_SYMBOL_GPL(snd_soc_dai_digital_mute);
/**
* snd_soc_register_card - Register a card with the ASoC core
*
* @
param card
Card to register
* @
card:
Card to register
*
* Note that currently this is an internal only function: it will be
* exposed to machine drivers after further backporting of ASoC v2
...
...
@@ -2087,7 +2089,7 @@ static int snd_soc_register_card(struct snd_soc_card *card)
/**
* snd_soc_unregister_card - Unregister a card with the ASoC core
*
* @
param card
Card to unregister
* @
card:
Card to unregister
*
* Note that currently this is an internal only function: it will be
* exposed to machine drivers after further backporting of ASoC v2
...
...
@@ -2107,7 +2109,7 @@ static int snd_soc_unregister_card(struct snd_soc_card *card)
/**
* snd_soc_register_dai - Register a DAI with the ASoC core
*
* @
param dai
DAI to register
* @
dai:
DAI to register
*/
int
snd_soc_register_dai
(
struct
snd_soc_dai
*
dai
)
{
...
...
@@ -2134,7 +2136,7 @@ EXPORT_SYMBOL_GPL(snd_soc_register_dai);
/**
* snd_soc_unregister_dai - Unregister a DAI from the ASoC core
*
* @
param dai
DAI to unregister
* @
dai:
DAI to unregister
*/
void
snd_soc_unregister_dai
(
struct
snd_soc_dai
*
dai
)
{
...
...
@@ -2149,8 +2151,8 @@ EXPORT_SYMBOL_GPL(snd_soc_unregister_dai);
/**
* snd_soc_register_dais - Register multiple DAIs with the ASoC core
*
* @
param dai
Array of DAIs to register
* @
param count
Number of DAIs
* @
dai:
Array of DAIs to register
* @
count:
Number of DAIs
*/
int
snd_soc_register_dais
(
struct
snd_soc_dai
*
dai
,
size_t
count
)
{
...
...
@@ -2175,8 +2177,8 @@ EXPORT_SYMBOL_GPL(snd_soc_register_dais);
/**
* snd_soc_unregister_dais - Unregister multiple DAIs from the ASoC core
*
* @
param dai
Array of DAIs to unregister
* @
param count
Number of DAIs
* @
dai:
Array of DAIs to unregister
* @
count:
Number of DAIs
*/
void
snd_soc_unregister_dais
(
struct
snd_soc_dai
*
dai
,
size_t
count
)
{
...
...
@@ -2190,7 +2192,7 @@ EXPORT_SYMBOL_GPL(snd_soc_unregister_dais);
/**
* snd_soc_register_platform - Register a platform with the ASoC core
*
* @p
aram platform
platform to register
* @p
latform:
platform to register
*/
int
snd_soc_register_platform
(
struct
snd_soc_platform
*
platform
)
{
...
...
@@ -2213,7 +2215,7 @@ EXPORT_SYMBOL_GPL(snd_soc_register_platform);
/**
* snd_soc_unregister_platform - Unregister a platform from the ASoC core
*
* @p
aram platform
platform to unregister
* @p
latform:
platform to unregister
*/
void
snd_soc_unregister_platform
(
struct
snd_soc_platform
*
platform
)
{
...
...
@@ -2228,7 +2230,7 @@ EXPORT_SYMBOL_GPL(snd_soc_unregister_platform);
/**
* snd_soc_register_codec - Register a codec with the ASoC core
*
* @
param codec
codec to register
* @
codec:
codec to register
*/
int
snd_soc_register_codec
(
struct
snd_soc_codec
*
codec
)
{
...
...
@@ -2255,7 +2257,7 @@ EXPORT_SYMBOL_GPL(snd_soc_register_codec);
/**
* snd_soc_unregister_codec - Unregister a codec from the ASoC core
*
* @
param codec
codec to unregister
* @
codec:
codec to unregister
*/
void
snd_soc_unregister_codec
(
struct
snd_soc_codec
*
codec
)
{
...
...
sound/soc/soc-dapm.c
View file @
ab05e290
...
...
@@ -1077,7 +1077,7 @@ EXPORT_SYMBOL_GPL(snd_soc_dapm_new_widgets);
/**
* snd_soc_dapm_get_volsw - dapm mixer get callback
* @kcontrol: mixer control
* @u
info
: control element information
* @u
control
: control element information
*
* Callback to get the value of a dapm mixer control.
*
...
...
@@ -1122,7 +1122,7 @@ EXPORT_SYMBOL_GPL(snd_soc_dapm_get_volsw);
/**
* snd_soc_dapm_put_volsw - dapm mixer set callback
* @kcontrol: mixer control
* @u
info
: control element information
* @u
control
: control element information
*
* Callback to set the value of a dapm mixer control.
*
...
...
@@ -1193,7 +1193,7 @@ EXPORT_SYMBOL_GPL(snd_soc_dapm_put_volsw);
/**
* snd_soc_dapm_get_enum_double - dapm enumerated double mixer get callback
* @kcontrol: mixer control
* @u
info
: control element information
* @u
control
: control element information
*
* Callback to get the value of a dapm enumerated double mixer control.
*
...
...
@@ -1221,7 +1221,7 @@ EXPORT_SYMBOL_GPL(snd_soc_dapm_get_enum_double);
/**
* snd_soc_dapm_put_enum_double - dapm enumerated double mixer set callback
* @kcontrol: mixer control
* @u
info
: control element information
* @u
control
: control element information
*
* Callback to set the value of a dapm enumerated double mixer control.
*
...
...
@@ -1419,7 +1419,7 @@ int snd_soc_dapm_set_bias_level(struct snd_soc_device *socdev,
/**
* snd_soc_dapm_enable_pin - enable pin.
* @
snd_soc_
codec: SoC codec
* @codec: SoC codec
* @pin: pin name
*
* Enables input/output pin and it's parents or children widgets iff there is
...
...
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