ret = wm8960_reset(codec); if(ret < 0) { dev_err(codec->dev,"Failed to issue reset\n"); returnret; } wm8960->set_bias_level(codec, SND_SOC_BIAS_STANDBY); /* Latch the update bits */ snd_soc_update_bits(codec, WM8960_LINVOL, 0x100, 0x100); snd_soc_update_bits(codec, W...
dev_err(codec->dev,"Failed to issue reset\n"); returnret; } wm8960->set_bias_level(codec, SND_SOC_BIAS_STANDBY); /* Latch the update bits */ snd_soc_update_bits(codec, WM8960_LINVOL, 0x100, 0x100); snd_soc_update_bits(codec, WM8960_RINVOL, 0x100, 0x100); snd_soc_update_...
Failed to issue reset (I2C) #60 openedJul 21, 2024bymehrdadfeller Why does WM8960-Audio-HAT Installer hard code location of config files? #59 openedJun 22, 2024byowingst Why there is need a copy of wm8960.c file? #57 openedMay 20, 2024bySubuday ...
wm8960_set_pdata_from_of(i2c, &wm8960->pdata); ret = wm8960_reset(wm8960->regmap); if (ret != 0) { dev_err(&i2c->dev, "Failed to issue reset\n"); return ret; } if (wm8960->pdata.shared_lrclk) { ret = regmap_update_bits(wm8960->regmap, WM8960_ADDCTL2, ...
(codec-dev, Failed to set cache I/O: %d\n, ret); return ret; } ret = wm8960_reset(codec); if (ret 0) { dev_err(codec-dev, Failed to issue reset\n); return ret; } wm8960-set_bias_level(codec, SND_SOC_BIAS_STANDBY); //add by lyq //设置Pin15(ADCLRC/GPIO)为GPIO,如果...
8960_reset(wm8960->regmap); if (ret != 0) { dev_err(&i2c->dev, "Failed to issue reset\n"); return ret; } if (wm8960->pdata.shared_lrclk) { ret = regmap_update_bits(wm8960->regmap, WM8960_ADDCTL2, 0x4, 0x4); if (ret != 0) { dev_err(...
of_node) wm8960_set_pdata_from_of(i2c, &wm8960->pdata); ret = wm8960_reset(wm8960->regmap); if (ret != 0) { dev_err(&i2c->dev, "Failed to issue reset\n"); return ret; } if (wm8960->pdata.shared_lrclk) { ret = regmap_update_bits(wm8960->regmap, WM8960_ADDCTL2, ...