android_kernel_xiaomi_sm8350/sound/soc/samsung
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
..
ac97.c
ac97.h
dma.c
dma.h
goni_wm8994.c
h1940_uda1380.c
i2s.c
i2s.h
jive_wm8750.c
Kconfig
lm4857.h
ln2440sbc_alc650.c
Makefile
neo1973_gta02_wm8753.c
neo1973_wm8753.c
pcm.c
pcm.h
regs-i2s-v2.h
rx1950_uda1380.c
s3c24xx_simtec_hermes.c
s3c24xx_simtec_tlv320aic23.c
s3c24xx_simtec.c
s3c24xx_simtec.h
s3c24xx_uda134x.c
s3c24xx-i2s.c
s3c24xx-i2s.h
s3c2412-i2s.c
s3c2412-i2s.h
s3c-i2s-v2.c
s3c-i2s-v2.h
smartq_wm8987.c
smdk2443_wm9710.c
smdk_spdif.c
smdk_wm8580.c
smdk_wm8994.c
smdk_wm9713.c
spdif.c
spdif.h