diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-04-22 02:28:35 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-04-22 02:28:35 -0400 |
commit | 57b8628bb0ac4e47c806e45c5bbd89282e93869b (patch) | |
tree | ee9289f0898054474b7e5054abdb3ffb78666436 /include/sound/soc-dai.h | |
parent | 486c8aba39e5f194519cd5c0e85e5d1de8b74b03 (diff) | |
parent | 66f75a5d028beaf67c931435fdc3e7823125730c (diff) |
Merge commit 'v3.4-rc4' into next
Diffstat (limited to 'include/sound/soc-dai.h')
-rw-r--r-- | include/sound/soc-dai.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index 2413acc54883..c429f248cf4e 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/list.h> | 17 | #include <linux/list.h> |
18 | 18 | ||
19 | struct snd_pcm_substream; | 19 | struct snd_pcm_substream; |
20 | struct snd_soc_dapm_widget; | ||
20 | 21 | ||
21 | /* | 22 | /* |
22 | * DAI hardware audio formats. | 23 | * DAI hardware audio formats. |
@@ -238,6 +239,9 @@ struct snd_soc_dai { | |||
238 | unsigned char pop_wait:1; | 239 | unsigned char pop_wait:1; |
239 | unsigned char probed:1; | 240 | unsigned char probed:1; |
240 | 241 | ||
242 | struct snd_soc_dapm_widget *playback_widget; | ||
243 | struct snd_soc_dapm_widget *capture_widget; | ||
244 | |||
241 | /* DAI DMA data */ | 245 | /* DAI DMA data */ |
242 | void *playback_dma_data; | 246 | void *playback_dma_data; |
243 | void *capture_dma_data; | 247 | void *capture_dma_data; |
@@ -246,10 +250,9 @@ struct snd_soc_dai { | |||
246 | unsigned int rate; | 250 | unsigned int rate; |
247 | 251 | ||
248 | /* parent platform/codec */ | 252 | /* parent platform/codec */ |
249 | union { | 253 | struct snd_soc_platform *platform; |
250 | struct snd_soc_platform *platform; | 254 | struct snd_soc_codec *codec; |
251 | struct snd_soc_codec *codec; | 255 | |
252 | }; | ||
253 | struct snd_soc_card *card; | 256 | struct snd_soc_card *card; |
254 | 257 | ||
255 | struct list_head list; | 258 | struct list_head list; |