Message ID | 20250604061821.2678-1-zhangyi@everest-semi.com |
---|---|
State | New |
Headers | show |
Series | ASoC: codecs: ES8326: Modify initialization configuration | expand |
On Wed, Jun 04, 2025 at 02:18:21PM +0800, Zhang Yi wrote: > Modify the value of ES8326_SDINOUT1_IO in the initialization > > Signed-off-by: Zhang Yi <zhangyi@everest-semi.com> > - regmap_write(es8326->regmap, ES8326_SDINOUT1_IO, > - (ES8326_IO_DMIC_CLK << ES8326_SDINOUT1_SHIFT)); > + regmap_write(es8326->regmap, ES8326_SDINOUT1_IO, ES8326_IO_INPUT); Why - will this impact existing users?
diff --git a/sound/soc/codecs/es8326.c b/sound/soc/codecs/es8326.c index 066d92b54312..78c4e68f6002 100755 --- a/sound/soc/codecs/es8326.c +++ b/sound/soc/codecs/es8326.c @@ -1079,8 +1079,7 @@ static void es8326_init(struct snd_soc_component *component) regmap_update_bits(es8326->regmap, ES8326_HPDET_TYPE, 0x03, 0x00); regmap_write(es8326->regmap, ES8326_INTOUT_IO, es8326->interrupt_clk); - regmap_write(es8326->regmap, ES8326_SDINOUT1_IO, - (ES8326_IO_DMIC_CLK << ES8326_SDINOUT1_SHIFT)); + regmap_write(es8326->regmap, ES8326_SDINOUT1_IO, ES8326_IO_INPUT); regmap_write(es8326->regmap, ES8326_SDINOUT23_IO, ES8326_IO_INPUT); regmap_write(es8326->regmap, ES8326_ANA_PDN, 0x00);
Modify the value of ES8326_SDINOUT1_IO in the initialization Signed-off-by: Zhang Yi <zhangyi@everest-semi.com> --- sound/soc/codecs/es8326.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)