diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-19 12:29:04 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-20 04:55:33 -0500 |
commit | 6b25730f68073ee95079d241ea6aa7be00805254 (patch) | |
tree | 7e880db2f38f2a2b845110a674455cf4f4aed3de | |
parent | 50c0f21b42dd4cd02b51f82274f66912d9a7fa32 (diff) |
ASoC: sigmadsp: Drop support support SIGMA_ACTION_DELAY
The official firmware generation tool never emitted any SIGMA_ACTION_DELAY
instructions. Keeping support for it with the new restructured loader that
also supports v2 will be difficult, so drop support for it.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/sigmadsp.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/codecs/sigmadsp.c b/sound/soc/codecs/sigmadsp.c index 81a38dd9af1f..4fd31434276b 100644 --- a/sound/soc/codecs/sigmadsp.c +++ b/sound/soc/codecs/sigmadsp.c | |||
@@ -7,7 +7,6 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/crc32.h> | 9 | #include <linux/crc32.h> |
10 | #include <linux/delay.h> | ||
11 | #include <linux/firmware.h> | 10 | #include <linux/firmware.h> |
12 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
13 | #include <linux/i2c.h> | 12 | #include <linux/i2c.h> |
@@ -28,9 +27,6 @@ enum { | |||
28 | SIGMA_ACTION_WRITEXBYTES = 0, | 27 | SIGMA_ACTION_WRITEXBYTES = 0, |
29 | SIGMA_ACTION_WRITESINGLE, | 28 | SIGMA_ACTION_WRITESINGLE, |
30 | SIGMA_ACTION_WRITESAFELOAD, | 29 | SIGMA_ACTION_WRITESAFELOAD, |
31 | SIGMA_ACTION_DELAY, | ||
32 | SIGMA_ACTION_PLLWAIT, | ||
33 | SIGMA_ACTION_NOOP, | ||
34 | SIGMA_ACTION_END, | 30 | SIGMA_ACTION_END, |
35 | }; | 31 | }; |
36 | 32 | ||
@@ -79,10 +75,6 @@ process_sigma_action(struct sigma_firmware *ssfw, struct sigma_action *sa) | |||
79 | if (ret < 0) | 75 | if (ret < 0) |
80 | return -EINVAL; | 76 | return -EINVAL; |
81 | break; | 77 | break; |
82 | case SIGMA_ACTION_DELAY: | ||
83 | udelay(len); | ||
84 | len = 0; | ||
85 | break; | ||
86 | case SIGMA_ACTION_END: | 78 | case SIGMA_ACTION_END: |
87 | return 0; | 79 | return 0; |
88 | default: | 80 | default: |