ASoC: rt5645: add micbias power control select.
We need to set a corresponding control bit before powering micbias up. Signed-off-by: Bard Liao <bardliao@realtek.com> [hdegoede@redhat.com: Remove 2 unused variable declarations] Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
@@ -2117,6 +2117,12 @@ enum {
|
||||
#define RT5645_RXDC_SRC_STO (0x0 << 7)
|
||||
#define RT5645_RXDC_SRC_MONO (0x1 << 7)
|
||||
#define RT5645_RXDC_SRC_SFT (7)
|
||||
#define RT5645_MICBIAS1_POW_CTRL_SEL_MASK (0x1 << 5)
|
||||
#define RT5645_MICBIAS1_POW_CTRL_SEL_A (0x0 << 5)
|
||||
#define RT5645_MICBIAS1_POW_CTRL_SEL_M (0x1 << 5)
|
||||
#define RT5645_MICBIAS2_POW_CTRL_SEL_MASK (0x1 << 4)
|
||||
#define RT5645_MICBIAS2_POW_CTRL_SEL_A (0x0 << 4)
|
||||
#define RT5645_MICBIAS2_POW_CTRL_SEL_M (0x1 << 4)
|
||||
#define RT5645_RXDP2_SEL_MASK (0x1 << 3)
|
||||
#define RT5645_RXDP2_SEL_IF2 (0x0 << 3)
|
||||
#define RT5645_RXDP2_SEL_ADC (0x1 << 3)
|
||||
|
Reference in New Issue
Block a user