ASoC: pcm3060: Add powersaving widgets for DAC and ADC
Enable DAC/ADC only when playing/capturing Signed-off-by: Kirill Marinushkin <kmarinushkin@birdec.tech> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:

committato da
Mark Brown

parent
33f8db9a89
commit
bb9963b850
@@ -37,7 +37,9 @@ int pcm3060_remove(struct device *dev);
|
||||
#define PCM3060_REG_MRST 0x80
|
||||
#define PCM3060_REG_SRST 0x40
|
||||
#define PCM3060_REG_ADPSV 0x20
|
||||
#define PCM3060_REG_SHIFT_ADPSV 0x05
|
||||
#define PCM3060_REG_DAPSV 0x10
|
||||
#define PCM3060_REG_SHIFT_DAPSV 0x04
|
||||
#define PCM3060_REG_SE 0x01
|
||||
|
||||
#define PCM3060_REG65 0x41
|
||||
|
Fai riferimento in un nuovo problema
Block a user