Takashi Iwai
9e74b14ad5
ASoC: wm8731: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-23 11:34:24 +09:00
Takashi Iwai
fed08d94bf
ASoC: wm8523: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-23 11:33:55 +09:00
Takashi Iwai
9614be73d8
ASoC: wm2200: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-23 11:33:09 +09:00
Takashi Iwai
4ec20a9700
ASoC: wl1273: Use SOC_ENUM_SINGLE_EXT_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-23 11:32:36 +09:00
Takashi Iwai
1dbb348d90
ASoC: uda1380: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro.
Also, use ARRAY_SIZE() in some ASOC_ENUM_SINGLE() lines.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-23 11:31:20 +09:00
Takashi Iwai
a1d0d786af
ASoC: twl6040: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro.
Also, use ARRAY_SIZE() in some ASOC_ENUM_SINGLE() lines.
No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-23 11:30:28 +09:00
Takashi Iwai
9f04fba797
ASoC: twl4030: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-23 11:29:27 +09:00
Takashi Iwai
6900ab55dd
ASoC: tlv320aic26: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-23 11:28:17 +09:00
Takashi Iwai
3cd7ca5882
ASoC: stac9766: Use SOC_ENUM_{SINGLE|DOUBLE}_DECL()
...
Just replace with the helper macros. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-23 11:27:20 +09:00
Takashi Iwai
f3c1196e16
ASoC: sn95031: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-23 11:22:11 +09:00
Takashi Iwai
c8ed650421
ASoC: sgtl5000: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-23 11:21:09 +09:00
Takashi Iwai
d1755bb75c
ASoC: mc13783: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-23 11:20:31 +09:00
Lars-Peter Clausen
70ff00f82a
ASoC: sta32x: Fix cache sync
...
codec->control_data contains a pointer to the regmap struct of the device, not
to the device private data. Use snd_soc_codec_get_drvdata() instead.
The issue was introduced in commit 29fdf4fbbe
("ASoC: sta32x: Convert to
regmap").
Fixes: 29fdf4fbbe
(ASoC: sta32x: Convert to regmap)
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
Cc: stable@vger.kernel.org
2014-02-23 10:48:55 +09:00
Charles Keepax
02afc6a238
ASoC: wm8996: Update locking around use of DAPM pin API
...
The pin updates in this driver look like they are intended to be done
atomically, update to do so.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 19:22:57 +09:00
Charles Keepax
babce8211b
ASoC: wm8994: Update locking around use of DAPM pin API
...
The pin updates in this driver look like they are intended to be done
atomically, update to do so.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 19:22:57 +09:00
Charles Keepax
f1a3b8d9d4
ASoC: wm8962: Update locking around use of DAPM pin API
...
The pin updates in this driver look like they are intended to be done
atomically, update to do so.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 19:22:56 +09:00
Charles Keepax
e951f267fd
ASoC: wm5100: Update locking around use of DAPM pin API
...
The pin updates in this driver look like they are intended to be done
atomically, update to do so.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 19:22:56 +09:00
Charles Keepax
1bf1b8cf4f
ASoC: adav80x: Update locking around use of DAPM pin API
...
The pin updates in this driver look like they are intended to be done
atomically, update to do so.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 19:22:44 +09:00
Takashi Iwai
af1f0a5082
ASoC: max98095: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 11:26:38 +09:00
Takashi Iwai
2907cbcc12
ASoC: max98090: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 11:26:03 +09:00
Takashi Iwai
a0628934d6
ASoC: max98088: Use SOC_*_ENUM_SINGLE_DECL()
...
Just replace with the helper macros. No functional change at all.
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 11:24:27 +09:00
Takashi Iwai
9839ce9360
ASoC: da9055: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 11:23:32 +09:00
Takashi Iwai
6415e307b1
ASoC: lm4857: Use SOC_ENUM_SINGLE_EXT_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 11:22:43 +09:00
Takashi Iwai
c99f8b216c
ASoC: da7213: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 11:16:17 +09:00
Takashi Iwai
e34042d850
ASoC: da7210: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 11:15:27 +09:00
Takashi Iwai
4682a0a2b8
ASoC: cs42l52: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Acked-by: Brian Austin <brian.austin@cirrus.com >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 11:14:39 +09:00
Takashi Iwai
98bf1b5e78
ASoC: alc5623: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 11:13:45 +09:00
Takashi Iwai
1c38450b9f
ASoC: adau1373: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 11:11:50 +09:00
Takashi Iwai
898b48eb88
ASoC: wm8400: Fix the wrong number of enum items
...
wm8400 codec driver has a few places wrongly defining the number of
enum items.
Use SOC_ENUM_SINGLE_DECL() macro and they are automatically fixed.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 11:07:53 +09:00
Takashi Iwai
cdbb492557
ASoC: isabelle: Fix the wrong number of items in enum ctls
...
isabelle codec driver has a few places wrongly defining the number of
enum items.
Use SOC_ENUM_SINGLE_DECL() macro and they are automatically fixed.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 11:06:37 +09:00
Takashi Iwai
901bb6c55d
ASoC: ad1980: Fix wrong number of items for capture source
...
The number of capture sources is 8, not 7.
Use SOC_ENUM_DOUBLE_DECL() macro and it's automatically fixed.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 11:01:26 +09:00
Takashi Iwai
27ca2c30f4
ASoC: arizona: Fix wrong number of items in enum ctls
...
arizona codec driver has a few places wrongly defining the number of
enum items.
Use SOC_ENUM_SINGLE_DECL() macro and they are automatically fixed.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:43:59 +09:00
Takashi Iwai
48e50ce37f
ASoC: wm8995: Remove superfluous const
...
As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:43:51 +09:00
Takashi Iwai
d0a4eec16a
ASoC: wm8985: Remove superfluous const
...
As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:43:47 +09:00
Takashi Iwai
ae170688da
ASoC: wm8983: Remove superfluous const
...
As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:43:43 +09:00
Takashi Iwai
11a544bb2f
ASoC: wm8978: Remove superfluous const
...
As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:43:38 +09:00
Takashi Iwai
da9f39f512
ASoC: wm8804: Remove superfluous const
...
As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:43:35 +09:00
Takashi Iwai
f281205422
ASoC: sta529: Remove superfluous const
...
As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:43:31 +09:00
Takashi Iwai
655e3652db
ASoC: ssm2518: Remove superfluous const
...
As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:43:28 +09:00
Takashi Iwai
4c03cb6f86
ASoC: rt5640: Remove superfluous const
...
As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:43:24 +09:00
Takashi Iwai
f843cdf2f7
ASoC: rt5631: Remove superfluous const
...
As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:43:21 +09:00
Takashi Iwai
a750987443
ASoC: mc13783: Remove superfluous const
...
As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:43:16 +09:00
Takashi Iwai
51e5b59c35
ASoC: lm49453: Remove superfluous const
...
As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:43:13 +09:00
Takashi Iwai
4988aff78b
ASoC: adau1373: Remove superfluous const
...
As SOC_ENUM_SINGLE_DECL() itself contains const modifier now, we can
reduce const from its users.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:43:09 +09:00
Takashi Iwai
c28b14f499
ALSA: da732x: Remove superfluous DA732X_SOC_ENUM_DOUBLE_R()
...
It's nowhere used.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:43:02 +09:00
Takashi Iwai
6b207c0f16
ASoC: twl4030: Clean up duplicated code
...
Remove the open code in snd_soc_put_twl4030_opmode_enum_double() but
just call snd_soc_put_enum_double() instead, which does the very same
thing (even correctly with a lock).
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:42:59 +09:00
Takashi Iwai
9a8d38db03
ASoC: Rename soc_enum.max field with items
...
The name "max" in struct soc_enum is rather confusing since it
actually takes the number of items. With "max", one might try to
assign (nitems - 1) value.
Rename the field to a more appropriate one, "items", which is also
used in struct snd_ctl_elem_info, too.
This patch also rewrites some code like "if (x > e->nitems - 1)" with
"if (x >= e->nitems)". Not only the latter improves the readability,
it also fixes a potential bug when e->items is zero.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:42:53 +09:00
Takashi Iwai
b6592d88ec
ASoC: ad193x: Use SOC_ENUM_SINGLE_DECL()
...
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:39:21 +09:00
Takashi Iwai
e61a35b798
ASoC: wm8994: Fix the wrong number of enum items
...
wm8994 codec driver has a few places wrongly defining the number of
enum items.
Use SOC_ENUM_SINGLE_DECL() macro and they are automatically fixed.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:33:33 +09:00
Takashi Iwai
d07338b0f2
ASoC: wm8991: Fix the wrong number of enum items
...
wm8991 codec driver has a few places wrongly defining the number of
enum items.
Use SOC_ENUM_SINGLE_DECL() macro and they are automatically fixed.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com >
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com >
Acked-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Mark Brown <broonie@linaro.org >
2014-02-20 10:31:53 +09:00