Once in a while after a reboot, the audio stops working (even though the driver is loaded and detected by aplay -l). In dmesg log I get Failed to issue reset which means the driver failed to send reset command to the audio chip. Unbindin...
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_...
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(&i2c->dev, "Failed to enable LRCM: %d\n", ret); ...
(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(...