10 Oct
2013
10 Oct
'13
9:36 a.m.
On Wed, Oct 09, 2013 at 05:21:40PM +0200, Lars-Peter Clausen wrote:
On 10/09/2013 05:01 PM, Steffen Trumtrar wrote:
[...]
+static const struct soc_enum mc13783_enum_asp =
- SOC_ENUM_SINGLE(MC13783_AUDIO_RX0, 4, ARRAY_SIZE(mc13783_alsp),
mc13783_alsp);
+static const struct soc_enum mc13783_enum_alsp =
- SOC_ENUM_SINGLE(MC13783_AUDIO_RX0, 7, ARRAY_SIZE(mc13783_alsp),
mc13783_alsp);
+static const struct soc_enum mc13783_enum_ahs =
- SOC_ENUM_SINGLE(MC13783_AUDIO_RX0, 11, ARRAY_SIZE(mc13783_ahs),
mc13783_ahs);
+static const struct soc_enum mc13783_enum_arxout =
- SOC_ENUM_SINGLE(MC13783_AUDIO_RX0, 17, ARRAY_SIZE(mc13783_ahs),
mc13783_ahs);
+static const struct soc_enum mc13783_enum_codec =
- SOC_ENUM_SINGLE(MC13783_AUDIO_RX1, 4, ARRAY_SIZE(mc13783_alsp),
mc13783_alsp);
For bonus points use SOC_ENUM_SINGLE_DECL(...) ;)
Yay, bonus points. I will change that.
Thanks, Steffen
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |