ASoC: Fix CODEC enumeration for auto_nc_codec_pins
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 27 Nov 2011 19:38:34 +0000 (19:38 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 27 Nov 2011 19:45:36 +0000 (19:45 +0000)
commitb05d8dc15f346224306bda4b4ae39fc5ace74ee6
tree339f9baf7253ce201c240b5a63d1c479557501af
parent162b187e197a9accd8b73001839645b4617c5fb2
ASoC: Fix CODEC enumeration for auto_nc_codec_pins

We need to enumerate all the CODECs that are part of the card we're
instantiating, not all the CODECs that are in the system as the system
may have multiple cards.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c