2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/sound/soc/atmel
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
..
atmel_ssc_dai.c ASoC: Add simplfied device registration for Atmel SSC devices 2010-08-18 16:53:22 +01:00
atmel_ssc_dai.h ASoC: Add simplfied device registration for Atmel SSC devices 2010-08-18 16:53:22 +01:00
atmel-pcm.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
atmel-pcm.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
Kconfig Fix Atmel soc audio boards Kconfig dependency 2010-11-11 14:50:13 +00:00
Makefile ASoC: AFEB9260 driver 2009-05-08 19:14:34 +01:00
playpaq_wm8510.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
sam9g20_wm8731.c Merge branch 'for-2.6.37' into for-2.6.38 2010-11-25 11:17:24 +00:00
snd-soc-afeb9260.c ASoC: Fix codec device id format used by some dai_links 2011-01-25 15:12:36 +00:00