diff options
-rw-r--r-- | MAINTAINERS | 1 | ||||
-rw-r--r-- | drivers/firmware/Kconfig | 12 | ||||
-rw-r--r-- | drivers/firmware/Makefile | 1 | ||||
-rw-r--r-- | sound/soc/codecs/Kconfig | 6 | ||||
-rw-r--r-- | sound/soc/codecs/Makefile | 2 | ||||
-rw-r--r-- | sound/soc/codecs/adau1701.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/sigmadsp.c (renamed from drivers/firmware/sigma.c) | 3 | ||||
-rw-r--r-- | sound/soc/codecs/sigmadsp.h (renamed from include/linux/sigma.h) | 0 |
8 files changed, 11 insertions, 16 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index fd7e441b5ea7..6a93a930ec66 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -542,6 +542,7 @@ F: sound/soc/codecs/adau* | |||
542 | F: sound/soc/codecs/adav* | 542 | F: sound/soc/codecs/adav* |
543 | F: sound/soc/codecs/ad1* | 543 | F: sound/soc/codecs/ad1* |
544 | F: sound/soc/codecs/ssm* | 544 | F: sound/soc/codecs/ssm* |
545 | F: sound/soc/codecs/sigmadsp.* | ||
545 | 546 | ||
546 | ANALOG DEVICES INC ASOC DRIVERS | 547 | ANALOG DEVICES INC ASOC DRIVERS |
547 | L: uclinux-dist-devel@blackfin.uclinux.org | 548 | L: uclinux-dist-devel@blackfin.uclinux.org |
diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index efba163595db..9b00072a020f 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig | |||
@@ -145,18 +145,6 @@ config ISCSI_IBFT | |||
145 | detect iSCSI boot parameters dynamically during system boot, say Y. | 145 | detect iSCSI boot parameters dynamically during system boot, say Y. |
146 | Otherwise, say N. | 146 | Otherwise, say N. |
147 | 147 | ||
148 | config SIGMA | ||
149 | tristate "SigmaStudio firmware loader" | ||
150 | depends on I2C | ||
151 | select CRC32 | ||
152 | default n | ||
153 | help | ||
154 | Enable helper functions for working with Analog Devices SigmaDSP | ||
155 | parts and binary firmwares produced by Analog Devices SigmaStudio. | ||
156 | |||
157 | If unsure, say N here. Drivers that need these helpers will select | ||
158 | this option automatically. | ||
159 | |||
160 | source "drivers/firmware/google/Kconfig" | 148 | source "drivers/firmware/google/Kconfig" |
161 | 149 | ||
162 | endmenu | 150 | endmenu |
diff --git a/drivers/firmware/Makefile b/drivers/firmware/Makefile index 47338c979126..5a7e27399729 100644 --- a/drivers/firmware/Makefile +++ b/drivers/firmware/Makefile | |||
@@ -12,6 +12,5 @@ obj-$(CONFIG_DMIID) += dmi-id.o | |||
12 | obj-$(CONFIG_ISCSI_IBFT_FIND) += iscsi_ibft_find.o | 12 | obj-$(CONFIG_ISCSI_IBFT_FIND) += iscsi_ibft_find.o |
13 | obj-$(CONFIG_ISCSI_IBFT) += iscsi_ibft.o | 13 | obj-$(CONFIG_ISCSI_IBFT) += iscsi_ibft.o |
14 | obj-$(CONFIG_FIRMWARE_MEMMAP) += memmap.o | 14 | obj-$(CONFIG_FIRMWARE_MEMMAP) += memmap.o |
15 | obj-$(CONFIG_SIGMA) += sigma.o | ||
16 | 15 | ||
17 | obj-$(CONFIG_GOOGLE_FIRMWARE) += google/ | 16 | obj-$(CONFIG_GOOGLE_FIRMWARE) += google/ |
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 686f45a07f34..593174c78d7b 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig | |||
@@ -141,7 +141,7 @@ config SND_SOC_AD73311 | |||
141 | tristate | 141 | tristate |
142 | 142 | ||
143 | config SND_SOC_ADAU1701 | 143 | config SND_SOC_ADAU1701 |
144 | select SIGMA | 144 | select SND_SOC_SIGMADSP |
145 | tristate | 145 | tristate |
146 | 146 | ||
147 | config SND_SOC_ADAU1373 | 147 | config SND_SOC_ADAU1373 |
@@ -234,6 +234,10 @@ config SND_SOC_RT5631 | |||
234 | config SND_SOC_SGTL5000 | 234 | config SND_SOC_SGTL5000 |
235 | tristate | 235 | tristate |
236 | 236 | ||
237 | config SND_SOC_SIGMADSP | ||
238 | tristate | ||
239 | select CRC32 | ||
240 | |||
237 | config SND_SOC_SN95031 | 241 | config SND_SOC_SN95031 |
238 | tristate | 242 | tristate |
239 | 243 | ||
diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile index 62b01e4e7983..fa15006fcac5 100644 --- a/sound/soc/codecs/Makefile +++ b/sound/soc/codecs/Makefile | |||
@@ -33,6 +33,7 @@ snd-soc-rt5631-objs := rt5631.o | |||
33 | snd-soc-sgtl5000-objs := sgtl5000.o | 33 | snd-soc-sgtl5000-objs := sgtl5000.o |
34 | snd-soc-alc5623-objs := alc5623.o | 34 | snd-soc-alc5623-objs := alc5623.o |
35 | snd-soc-alc5632-objs := alc5632.o | 35 | snd-soc-alc5632-objs := alc5632.o |
36 | snd-soc-sigmadsp-objs := sigmadsp.o | ||
36 | snd-soc-sn95031-objs := sn95031.o | 37 | snd-soc-sn95031-objs := sn95031.o |
37 | snd-soc-spdif-objs := spdif_transciever.o | 38 | snd-soc-spdif-objs := spdif_transciever.o |
38 | snd-soc-ssm2602-objs := ssm2602.o | 39 | snd-soc-ssm2602-objs := ssm2602.o |
@@ -134,6 +135,7 @@ obj-$(CONFIG_SND_SOC_MAX9850) += snd-soc-max9850.o | |||
134 | obj-$(CONFIG_SND_SOC_PCM3008) += snd-soc-pcm3008.o | 135 | obj-$(CONFIG_SND_SOC_PCM3008) += snd-soc-pcm3008.o |
135 | obj-$(CONFIG_SND_SOC_RT5631) += snd-soc-rt5631.o | 136 | obj-$(CONFIG_SND_SOC_RT5631) += snd-soc-rt5631.o |
136 | obj-$(CONFIG_SND_SOC_SGTL5000) += snd-soc-sgtl5000.o | 137 | obj-$(CONFIG_SND_SOC_SGTL5000) += snd-soc-sgtl5000.o |
138 | obj-$(CONFIG_SND_SOC_SIGMADSP) += snd-soc-sigmadsp.o | ||
137 | obj-$(CONFIG_SND_SOC_SN95031) +=snd-soc-sn95031.o | 139 | obj-$(CONFIG_SND_SOC_SN95031) +=snd-soc-sn95031.o |
138 | obj-$(CONFIG_SND_SOC_SPDIF) += snd-soc-spdif.o | 140 | obj-$(CONFIG_SND_SOC_SPDIF) += snd-soc-spdif.o |
139 | obj-$(CONFIG_SND_SOC_SSM2602) += snd-soc-ssm2602.o | 141 | obj-$(CONFIG_SND_SOC_SSM2602) += snd-soc-ssm2602.o |
diff --git a/sound/soc/codecs/adau1701.c b/sound/soc/codecs/adau1701.c index 8b7e1c50d6e9..6a6af567f02a 100644 --- a/sound/soc/codecs/adau1701.c +++ b/sound/soc/codecs/adau1701.c | |||
@@ -12,13 +12,13 @@ | |||
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/i2c.h> | 13 | #include <linux/i2c.h> |
14 | #include <linux/delay.h> | 14 | #include <linux/delay.h> |
15 | #include <linux/sigma.h> | ||
16 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
17 | #include <sound/core.h> | 16 | #include <sound/core.h> |
18 | #include <sound/pcm.h> | 17 | #include <sound/pcm.h> |
19 | #include <sound/pcm_params.h> | 18 | #include <sound/pcm_params.h> |
20 | #include <sound/soc.h> | 19 | #include <sound/soc.h> |
21 | 20 | ||
21 | #include "sigmadsp.h" | ||
22 | #include "adau1701.h" | 22 | #include "adau1701.h" |
23 | 23 | ||
24 | #define ADAU1701_DSPCTRL 0x1c | 24 | #define ADAU1701_DSPCTRL 0x1c |
diff --git a/drivers/firmware/sigma.c b/sound/soc/codecs/sigmadsp.c index 1eedb6f7fdab..acb97a9834aa 100644 --- a/drivers/firmware/sigma.c +++ b/sound/soc/codecs/sigmadsp.c | |||
@@ -12,7 +12,8 @@ | |||
12 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
13 | #include <linux/i2c.h> | 13 | #include <linux/i2c.h> |
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | #include <linux/sigma.h> | 15 | |
16 | #include "sigmadsp.h" | ||
16 | 17 | ||
17 | static size_t sigma_action_size(struct sigma_action *sa) | 18 | static size_t sigma_action_size(struct sigma_action *sa) |
18 | { | 19 | { |
diff --git a/include/linux/sigma.h b/sound/soc/codecs/sigmadsp.h index d0de882c0d96..d0de882c0d96 100644 --- a/include/linux/sigma.h +++ b/sound/soc/codecs/sigmadsp.h | |||