summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/sigmadsp.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-11-19 18:29:04 +0100
committerMark Brown <broonie@kernel.org>2014-11-20 10:55:33 +0100
commit6b25730f68073ee95079d241ea6aa7be00805254 (patch)
tree7e880db2f38f2a2b845110a674455cf4f4aed3de /sound/soc/codecs/sigmadsp.c
parentASoC: sigmadsp: Refuse to load firmware files with a non-supported version (diff)
downloadlinux-6b25730f68073ee95079d241ea6aa7be00805254.tar.xz
linux-6b25730f68073ee95079d241ea6aa7be00805254.zip
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>
Diffstat (limited to 'sound/soc/codecs/sigmadsp.c')
-rw-r--r--sound/soc/codecs/sigmadsp.c8
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 @@
*/
#include <linux/crc32.h>
-#include <linux/delay.h>
#include <linux/firmware.h>
#include <linux/kernel.h>
#include <linux/i2c.h>
@@ -28,9 +27,6 @@ enum {
SIGMA_ACTION_WRITEXBYTES = 0,
SIGMA_ACTION_WRITESINGLE,
SIGMA_ACTION_WRITESAFELOAD,
- SIGMA_ACTION_DELAY,
- SIGMA_ACTION_PLLWAIT,
- SIGMA_ACTION_NOOP,
SIGMA_ACTION_END,
};
@@ -79,10 +75,6 @@ process_sigma_action(struct sigma_firmware *ssfw, struct sigma_action *sa)
if (ret < 0)
return -EINVAL;
break;
- case SIGMA_ACTION_DELAY:
- udelay(len);
- len = 0;
- break;
case SIGMA_ACTION_END:
return 0;
default: