aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8731.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-10-13 14:09:59 -0400
committerJaroslav Kysela <perex@suse.cz>2007-02-09 03:00:56 -0500
commitb3b9c1cbb35125f7e43a323ebe89e7a74e3c1ac2 (patch)
tree74a74811a31263e25e64b67411561e336b7d3c68 /sound/soc/codecs/wm8731.c
parentb5c5fd24b9d34e4670cb339e546bfae7ad316354 (diff)
[ALSA] Remove trailing whitespaces from soc/* files
Remove trailing whitespaces from soc/* files added by the conversion to C99-style initialization. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/soc/codecs/wm8731.c')
-rw-r--r--sound/soc/codecs/wm8731.c94
1 files changed, 47 insertions, 47 deletions
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c
index 03a6bb9b8773..9adbd2d401c4 100644
--- a/sound/soc/codecs/wm8731.c
+++ b/sound/soc/codecs/wm8731.c
@@ -87,89 +87,89 @@ static struct snd_soc_dai_mode wm8731_modes[] = {
87 /* 8k */ 87 /* 8k */
88 { 88 {
89 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 89 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
90 .pcmfmt = WM8731_HIFI_BITS, 90 .pcmfmt = WM8731_HIFI_BITS,
91 .pcmrate = SNDRV_PCM_RATE_8000, 91 .pcmrate = SNDRV_PCM_RATE_8000,
92 .pcmdir = WM8731_DIR, 92 .pcmdir = WM8731_DIR,
93 .fs = 1536, 93 .fs = 1536,
94 .bfs = SND_SOC_FSB(64), 94 .bfs = SND_SOC_FSB(64),
95 }, 95 },
96 { 96 {
97 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 97 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
98 .pcmfmt = WM8731_HIFI_BITS, 98 .pcmfmt = WM8731_HIFI_BITS,
99 .pcmrate = SNDRV_PCM_RATE_8000, 99 .pcmrate = SNDRV_PCM_RATE_8000,
100 .pcmdir = WM8731_DIR, 100 .pcmdir = WM8731_DIR,
101 .fs = 2304, 101 .fs = 2304,
102 .bfs = SND_SOC_FSB(64), 102 .bfs = SND_SOC_FSB(64),
103 }, 103 },
104 { 104 {
105 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 105 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
106 .pcmfmt = WM8731_HIFI_BITS, 106 .pcmfmt = WM8731_HIFI_BITS,
107 .pcmrate = SNDRV_PCM_RATE_8000, 107 .pcmrate = SNDRV_PCM_RATE_8000,
108 .pcmdir = WM8731_DIR, 108 .pcmdir = WM8731_DIR,
109 .fs = 1408, 109 .fs = 1408,
110 .bfs = SND_SOC_FSB(64), 110 .bfs = SND_SOC_FSB(64),
111 }, 111 },
112 { 112 {
113 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 113 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
114 .pcmfmt = WM8731_HIFI_BITS, 114 .pcmfmt = WM8731_HIFI_BITS,
115 .pcmrate = SNDRV_PCM_RATE_8000, 115 .pcmrate = SNDRV_PCM_RATE_8000,
116 .pcmdir = WM8731_DIR, 116 .pcmdir = WM8731_DIR,
117 .fs = 2112, 117 .fs = 2112,
118 .bfs = SND_SOC_FSB(64), 118 .bfs = SND_SOC_FSB(64),
119 }, 119 },
120 120
121 /* 32k */ 121 /* 32k */
122 { 122 {
123 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 123 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
124 .pcmfmt = WM8731_HIFI_BITS, 124 .pcmfmt = WM8731_HIFI_BITS,
125 .pcmrate = SNDRV_PCM_RATE_32000, 125 .pcmrate = SNDRV_PCM_RATE_32000,
126 .pcmdir = WM8731_DIR, 126 .pcmdir = WM8731_DIR,
127 .fs = 384, 127 .fs = 384,
128 .bfs = SND_SOC_FSB(64), 128 .bfs = SND_SOC_FSB(64),
129 }, 129 },
130 { 130 {
131 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 131 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
132 .pcmfmt = WM8731_HIFI_BITS, 132 .pcmfmt = WM8731_HIFI_BITS,
133 .pcmrate = SNDRV_PCM_RATE_32000, 133 .pcmrate = SNDRV_PCM_RATE_32000,
134 .pcmdir = WM8731_DIR, 134 .pcmdir = WM8731_DIR,
135 .fs = 576, 135 .fs = 576,
136 .bfs = SND_SOC_FSB(64), 136 .bfs = SND_SOC_FSB(64),
137 }, 137 },
138 138
139 /* 44.1k & 48k */ 139 /* 44.1k & 48k */
140 { 140 {
141 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 141 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
142 .pcmfmt = WM8731_HIFI_BITS, 142 .pcmfmt = WM8731_HIFI_BITS,
143 .pcmrate = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000, 143 .pcmrate = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000,
144 .pcmdir = WM8731_DIR, 144 .pcmdir = WM8731_DIR,
145 .fs = 256, 145 .fs = 256,
146 .bfs = SND_SOC_FSB(64), 146 .bfs = SND_SOC_FSB(64),
147 }, 147 },
148 { 148 {
149 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 149 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
150 .pcmfmt = WM8731_HIFI_BITS, 150 .pcmfmt = WM8731_HIFI_BITS,
151 .pcmrate = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000, 151 .pcmrate = SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000,
152 .pcmdir = WM8731_DIR, 152 .pcmdir = WM8731_DIR,
153 .fs = 384, 153 .fs = 384,
154 .bfs = SND_SOC_FSB(64), 154 .bfs = SND_SOC_FSB(64),
155 }, 155 },
156 156
157 /* 88.2 & 96k */ 157 /* 88.2 & 96k */
158 { 158 {
159 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 159 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
160 .pcmfmt = WM8731_HIFI_BITS, 160 .pcmfmt = WM8731_HIFI_BITS,
161 .pcmrate = SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000, 161 .pcmrate = SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000,
162 .pcmdir = WM8731_DIR, 162 .pcmdir = WM8731_DIR,
163 .fs = 128, 163 .fs = 128,
164 .bfs = SND_SOC_FSB(64), 164 .bfs = SND_SOC_FSB(64),
165 165
166 }, 166 },
167 { 167 {
168 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 168 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
169 .pcmfmt = WM8731_HIFI_BITS, 169 .pcmfmt = WM8731_HIFI_BITS,
170 .pcmrate = SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000, 170 .pcmrate = SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000,
171 .pcmdir = WM8731_DIR, 171 .pcmdir = WM8731_DIR,
172 .fs = 192, 172 .fs = 192,
173 .bfs = SND_SOC_FSB(64), 173 .bfs = SND_SOC_FSB(64),
174 }, 174 },
175 175
@@ -177,66 +177,66 @@ static struct snd_soc_dai_mode wm8731_modes[] = {
177 /* 8k */ 177 /* 8k */
178 { 178 {
179 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 179 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
180 .pcmfmt = WM8731_HIFI_BITS, 180 .pcmfmt = WM8731_HIFI_BITS,
181 .pcmrate = SNDRV_PCM_RATE_8000, 181 .pcmrate = SNDRV_PCM_RATE_8000,
182 .pcmdir = WM8731_DIR, 182 .pcmdir = WM8731_DIR,
183 .flags = SND_SOC_DAI_BFS_DIV, 183 .flags = SND_SOC_DAI_BFS_DIV,
184 .fs = 1500, 184 .fs = 1500,
185 .bfs = SND_SOC_FSBD(1), 185 .bfs = SND_SOC_FSBD(1),
186 }, 186 },
187 187
188 /* 44.1k */ 188 /* 44.1k */
189 { 189 {
190 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 190 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
191 .pcmfmt = WM8731_HIFI_BITS, 191 .pcmfmt = WM8731_HIFI_BITS,
192 .pcmrate = SNDRV_PCM_RATE_44100, 192 .pcmrate = SNDRV_PCM_RATE_44100,
193 .pcmdir = WM8731_DIR, 193 .pcmdir = WM8731_DIR,
194 .flags = SND_SOC_DAI_BFS_DIV, 194 .flags = SND_SOC_DAI_BFS_DIV,
195 .fs = 272, 195 .fs = 272,
196 .bfs = SND_SOC_FSBD(1), 196 .bfs = SND_SOC_FSBD(1),
197 }, 197 },
198 198
199 /* 48k */ 199 /* 48k */
200 { 200 {
201 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 201 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
202 .pcmfmt = WM8731_HIFI_BITS, 202 .pcmfmt = WM8731_HIFI_BITS,
203 .pcmrate = SNDRV_PCM_RATE_48000, 203 .pcmrate = SNDRV_PCM_RATE_48000,
204 .pcmdir = WM8731_DIR, 204 .pcmdir = WM8731_DIR,
205 .flags = SND_SOC_DAI_BFS_DIV, 205 .flags = SND_SOC_DAI_BFS_DIV,
206 .fs = 250, 206 .fs = 250,
207 .bfs = SND_SOC_FSBD(1), 207 .bfs = SND_SOC_FSBD(1),
208 }, 208 },
209 209
210 /* 88.2k */ 210 /* 88.2k */
211 { 211 {
212 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 212 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
213 .pcmfmt = WM8731_HIFI_BITS, 213 .pcmfmt = WM8731_HIFI_BITS,
214 .pcmrate = SNDRV_PCM_RATE_88200, 214 .pcmrate = SNDRV_PCM_RATE_88200,
215 .pcmdir = WM8731_DIR, 215 .pcmdir = WM8731_DIR,
216 .flags = SND_SOC_DAI_BFS_DIV, 216 .flags = SND_SOC_DAI_BFS_DIV,
217 .fs = 136, 217 .fs = 136,
218 .bfs = SND_SOC_FSBD(1), 218 .bfs = SND_SOC_FSBD(1),
219 }, 219 },
220 220
221 /* 96k */ 221 /* 96k */
222 { 222 {
223 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM, 223 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBM_CFM,
224 .pcmfmt = WM8731_HIFI_BITS, 224 .pcmfmt = WM8731_HIFI_BITS,
225 .pcmrate = SNDRV_PCM_RATE_96000, 225 .pcmrate = SNDRV_PCM_RATE_96000,
226 .pcmdir = WM8731_DIR, 226 .pcmdir = WM8731_DIR,
227 .flags = SND_SOC_DAI_BFS_DIV, 227 .flags = SND_SOC_DAI_BFS_DIV,
228 .fs = 125, 228 .fs = 125,
229 .bfs = SND_SOC_FSBD(1), 229 .bfs = SND_SOC_FSBD(1),
230 }, 230 },
231 231
232 /* codec frame and clock slave modes */ 232 /* codec frame and clock slave modes */
233 { 233 {
234 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBS_CFS, 234 .fmt = WM8731_DAIFMT | SND_SOC_DAIFMT_CBS_CFS,
235 .pcmfmt = WM8731_HIFI_BITS, 235 .pcmfmt = WM8731_HIFI_BITS,
236 .pcmrate = WM8731_RATES, 236 .pcmrate = WM8731_RATES,
237 .pcmdir = WM8731_DIR, 237 .pcmdir = WM8731_DIR,
238 .flags = SND_SOC_DAI_BFS_DIV, 238 .flags = SND_SOC_DAI_BFS_DIV,
239 .fs = SND_SOC_FS_ALL, 239 .fs = SND_SOC_FS_ALL,
240 .bfs = SND_SOC_FSBD_ALL, 240 .bfs = SND_SOC_FSBD_ALL,
241 }, 241 },
242}; 242};