]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00160862 unique id for each soc-audio device
authorAlan Tull <alan.tull@freescale.com>
Wed, 26 Oct 2011 18:13:47 +0000 (13:13 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:18 +0000 (08:33 +0200)
commitaee4946541aca878d89356d3e0a85f1fcb7043f9
tree5cd69e8fa48308c8706117796597b7cef16573ab
parent50d12794a1c65cfc0a763c4ff5579c056c9cfb22
ENGR00160862 unique id for each soc-audio device

On boards which have more than one soc-audio device, the initialization
of the first device will create a sysfs directory named
/sys/devices/platform/soc-audio and subsequent soc-audio devices will
fail to init because they try to create another sysfs directory of the
same name.

The solution is to have a unique number for each device such that
different boards having combinations will be OK.

Signed-off-by: Alan Tull <alan.tull@freescale.com>
sound/soc/imx/imx-sgtl5000.c
sound/soc/imx/imx-spdif.c