Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Lars-Peter Clausen and committed by
Mark Brown
6b25730f 50c0f21b

-8
-8
sound/soc/codecs/sigmadsp.c
··· 7 7 */ 8 8 9 9 #include <linux/crc32.h> 10 - #include <linux/delay.h> 11 10 #include <linux/firmware.h> 12 11 #include <linux/kernel.h> 13 12 #include <linux/i2c.h> ··· 27 28 SIGMA_ACTION_WRITEXBYTES = 0, 28 29 SIGMA_ACTION_WRITESINGLE, 29 30 SIGMA_ACTION_WRITESAFELOAD, 30 - SIGMA_ACTION_DELAY, 31 - SIGMA_ACTION_PLLWAIT, 32 - SIGMA_ACTION_NOOP, 33 31 SIGMA_ACTION_END, 34 32 }; 35 33 ··· 74 78 ret = ssfw->write(ssfw->control_data, sa, len); 75 79 if (ret < 0) 76 80 return -EINVAL; 77 - break; 78 - case SIGMA_ACTION_DELAY: 79 - udelay(len); 80 - len = 0; 81 81 break; 82 82 case SIGMA_ACTION_END: 83 83 return 0;