OpenCloudOS-Kernel/sound/soc/blackfin
Lars-Peter Clausen 81d7da5404 ASoC: Fix codec device id format used by some dai_links
The id part of an I2C device name is created with the "%d-%04x" format string.

So for example for an I2C device which is connected to the adapter with the id 0
and has its address set to 0x1a the id part of the devices name would be
"0-001a".

Currently some sound board drivers have the id part the codec_name field of
their dai_link structures set as if it had been created by a "%d-0x%x" format
string. For example "0-0x1a" instead of "0-001a".

As a result there is no match between the codec device and the dai_link and no
sound card is instantiated.

This patch fixes it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
2011-01-25 15:12:36 +00:00
..
Kconfig ASoC: Blackfin: fix DAI/SPORT config dependency issues 2011-01-18 19:01:57 +00:00
Makefile ASoC: change bf5xx-ad1938 machine driver to bf5xx-ad193x machine driver 2010-03-19 12:47:34 +00:00
bf5xx-ac97-pcm.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
bf5xx-ac97-pcm.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
bf5xx-ac97.c ASoC: Blackfin AC97: fix build error after multi-component update 2011-01-18 19:01:57 +00:00
bf5xx-ac97.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
bf5xx-ad193x.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
bf5xx-ad1836.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
bf5xx-ad1980.c Merge branch 'for-2.6.36' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6 into for-2.6.37 2010-08-15 14:56:40 +01:00
bf5xx-ad73311.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
bf5xx-i2s-pcm.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
bf5xx-i2s-pcm.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
bf5xx-i2s.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
bf5xx-sport.c ASoC: bf5xx-sport: the irq save/restore funcs take an unsigned long 2009-09-17 10:51:35 +01:00
bf5xx-sport.h ASoC: bf5xx-sport: use common SPORT code for MMR info 2010-03-10 11:59:56 +00:00
bf5xx-ssm2602.c ASoC: Fix codec device id format used by some dai_links 2011-01-25 15:12:36 +00:00
bf5xx-tdm-pcm.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
bf5xx-tdm-pcm.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
bf5xx-tdm.c ASoC: Blackfin TDM: use external frame syncs 2011-01-18 19:01:57 +00:00
bf5xx-tdm.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00