ASoC: atmel_ssc_dai: distinguish the different SSC
authorSongjun Wu <songjun.wu@atmel.com>
Wed, 2 Mar 2016 11:15:25 +0000 (12:15 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 2 Mar 2016 14:43:11 +0000 (23:43 +0900)
commitc706f2e55f04d25d212e34186521a38e8a6e459e
treecd79582d64aa18ea89da3950781eb68b5abc8e77
parent92e963f50fc74041b5e9e744c330dca48e04f08d
ASoC: atmel_ssc_dai: distinguish the different SSC

Cpu_dai id always equals 0, can't distinguish the
different SSC. Use platform_device id to record
and distinguish the different SSC.

Signed-off-by: Songjun Wu <songjun.wu@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/misc/atmel-ssc.c
sound/soc/atmel/atmel_ssc_dai.c