]> Pileus Git - ~andy/linux/commit
ASoC: da9055: Fix device registration of PMIC and CODEC devices
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
Thu, 6 Feb 2014 18:03:07 +0000 (18:03 +0000)
committerMark Brown <broonie@linaro.org>
Mon, 10 Feb 2014 13:43:52 +0000 (13:43 +0000)
commit07b0e5b10258b48e5edfb6c8ac156f05510eb775
tree685255287a3f5ba246fef109693be55411760f2f
parent38dbfb59d1175ef458d006556061adeaa8751b72
ASoC: da9055: Fix device registration of PMIC and CODEC devices

Currently the I2C device Ids conflict for the MFD and CODEC so
cannot be both instantiated on one platform. This patch updates
the Ids and names to make them unique from each other.

It should be noted that the I2C addresses for both PMIC and CODEC
are modifiable so instantiation of the two are kept as separate
devices, rather than instantiating the CODEC from the MFD code.

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
drivers/mfd/da9055-i2c.c
sound/soc/codecs/da9055.c