aboutsummaryrefslogtreecommitdiffstats
path: root/sound/firewire/bebob/bebob_focusrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/firewire/bebob/bebob_focusrite.c')
-rw-r--r--sound/firewire/bebob/bebob_focusrite.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sound/firewire/bebob/bebob_focusrite.c b/sound/firewire/bebob/bebob_focusrite.c
index 45c8f76d8187..a1a39494ea6c 100644
--- a/sound/firewire/bebob/bebob_focusrite.c
+++ b/sound/firewire/bebob/bebob_focusrite.c
@@ -103,17 +103,11 @@ saffire_write_quad(struct snd_bebob *bebob, u64 offset, u32 value)
103 &data, sizeof(__be32), 0); 103 &data, sizeof(__be32), 0);
104} 104}
105 105
106static const char *const saffirepro_10_clk_src_labels[] = {
107 SND_BEBOB_CLOCK_INTERNAL, "S/PDIF", "Word Clock"
108};
109static enum snd_bebob_clock_type saffirepro_10_clk_src_types[] = { 106static enum snd_bebob_clock_type saffirepro_10_clk_src_types[] = {
110 SND_BEBOB_CLOCK_TYPE_INTERNAL, 107 SND_BEBOB_CLOCK_TYPE_INTERNAL,
111 SND_BEBOB_CLOCK_TYPE_EXTERNAL, /* S/PDIF */ 108 SND_BEBOB_CLOCK_TYPE_EXTERNAL, /* S/PDIF */
112 SND_BEBOB_CLOCK_TYPE_EXTERNAL, /* Word Clock */ 109 SND_BEBOB_CLOCK_TYPE_EXTERNAL, /* Word Clock */
113}; 110};
114static const char *const saffirepro_26_clk_src_labels[] = {
115 SND_BEBOB_CLOCK_INTERNAL, "S/PDIF", "ADAT1", "ADAT2", "Word Clock"
116};
117static enum snd_bebob_clock_type saffirepro_26_clk_src_types[] = { 111static enum snd_bebob_clock_type saffirepro_26_clk_src_types[] = {
118 SND_BEBOB_CLOCK_TYPE_INTERNAL, 112 SND_BEBOB_CLOCK_TYPE_INTERNAL,
119 SND_BEBOB_CLOCK_TYPE_EXTERNAL, /* S/PDIF */ 113 SND_BEBOB_CLOCK_TYPE_EXTERNAL, /* S/PDIF */
@@ -207,9 +201,6 @@ end:
207} 201}
208 202
209struct snd_bebob_spec saffire_le_spec; 203struct snd_bebob_spec saffire_le_spec;
210static const char *const saffire_both_clk_src_labels[] = {
211 SND_BEBOB_CLOCK_INTERNAL, "S/PDIF"
212};
213static enum snd_bebob_clock_type saffire_both_clk_src_types[] = { 204static enum snd_bebob_clock_type saffire_both_clk_src_types[] = {
214 SND_BEBOB_CLOCK_TYPE_INTERNAL, 205 SND_BEBOB_CLOCK_TYPE_INTERNAL,
215 SND_BEBOB_CLOCK_TYPE_EXTERNAL, 206 SND_BEBOB_CLOCK_TYPE_EXTERNAL,
@@ -276,7 +267,6 @@ static struct snd_bebob_rate_spec saffirepro_both_rate_spec = {
276/* Saffire Pro 26 I/O */ 267/* Saffire Pro 26 I/O */
277static struct snd_bebob_clock_spec saffirepro_26_clk_spec = { 268static struct snd_bebob_clock_spec saffirepro_26_clk_spec = {
278 .num = ARRAY_SIZE(saffirepro_26_clk_src_types), 269 .num = ARRAY_SIZE(saffirepro_26_clk_src_types),
279 .labels = saffirepro_26_clk_src_labels,
280 .types = saffirepro_26_clk_src_types, 270 .types = saffirepro_26_clk_src_types,
281 .get = &saffirepro_both_clk_src_get, 271 .get = &saffirepro_both_clk_src_get,
282}; 272};
@@ -288,7 +278,6 @@ struct snd_bebob_spec saffirepro_26_spec = {
288/* Saffire Pro 10 I/O */ 278/* Saffire Pro 10 I/O */
289static struct snd_bebob_clock_spec saffirepro_10_clk_spec = { 279static struct snd_bebob_clock_spec saffirepro_10_clk_spec = {
290 .num = ARRAY_SIZE(saffirepro_10_clk_src_types), 280 .num = ARRAY_SIZE(saffirepro_10_clk_src_types),
291 .labels = saffirepro_10_clk_src_labels,
292 .types = saffirepro_10_clk_src_types, 281 .types = saffirepro_10_clk_src_types,
293 .get = &saffirepro_both_clk_src_get, 282 .get = &saffirepro_both_clk_src_get,
294}; 283};
@@ -304,7 +293,6 @@ static struct snd_bebob_rate_spec saffire_both_rate_spec = {
304}; 293};
305static struct snd_bebob_clock_spec saffire_both_clk_spec = { 294static struct snd_bebob_clock_spec saffire_both_clk_spec = {
306 .num = ARRAY_SIZE(saffire_both_clk_src_types), 295 .num = ARRAY_SIZE(saffire_both_clk_src_types),
307 .labels = saffire_both_clk_src_labels,
308 .types = saffire_both_clk_src_types, 296 .types = saffire_both_clk_src_types,
309 .get = &saffire_both_clk_src_get, 297 .get = &saffire_both_clk_src_get,
310}; 298};