For CODEC controls snd_kcontrol_chip() currently returns a pointer to the
CODEC that registered the control. With the upcoming consolidation of
platform and CODEC controls this will change. Prepare for this by introducing
the snd_soc_kcontrol_codec() helper function that will hide the implementation
details of how the CODEC for a control can be obtained. This will allow us to
change this easily in the future.
The patch also updates all CODEC drivers to use the new helper function.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Acked-by: Charles Keepax <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
For some CODEC drivers like who act as the MFDs children are ignored
by this patch.
Signed-off-by: Xiubo Li <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
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 <[email protected]>
Acked-by: Mark Brown <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Cc: [email protected]
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: Bill Pemberton <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This patch DAPMises headphone and lineout output enable controls.
Earlier these output enable bits were permanently turned on in probe.
In da9055 codec, right outmixer is directly connected with right HP and
Line out. This resulted in two side effects,
(1) When you only want to use lineout, right HP (and connected charge
pump) also gets enabled
(2) When you only want to use stereo HP, lineout also gets enabled
This patch adds three switches to select which output(s) should be
enabled.
Signed-off-by: Ashish Chavan <[email protected]>
Signed-off-by: David Dajun Chen <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This patch adds AIF DSP mode support for da9055 codec driver.
Signed-off-by: Ashish Chavan <[email protected]>
Signed-off-by: David Dajun Chen <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This patch slightly improves ALC calibration process of da9055 codec
driver by muting Mic PGAs during calibration.
Signed-off-by: Ashish Chavan <[email protected]>
Signed-off-by: David Dajun Chen <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This patch adds support for Dialog semiconductor's DA9055 audio codec.
This has been tested on DA9055 EVB with Samsung SMDK6410 board.
Signed-off-by: Ashish Chavan <[email protected]>
Signed-off-by: David Dajun Chen <[email protected]>
Signed-off-by: Mark Brown <[email protected]>