mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
ASoC: aw882xx: set speaker default impedance value
According to Astro audio calibration statistical data in ODM Ontim factory, set 7.3 as speaker default impedance value. If aw_cali.bin is not exist, use 7.3ohm for aw882xx speaker protection algorithm. NO_PROP_NEEDED: aw882xx doesn't use in bq-shm2018 products. Change-Id: Icc2b8cd24b2fd6547b8244a6c987122c1648d7c1 Signed-off-by: zhouwl <zhouwl@lenovo.com> Reviewed-on: https://gerrit.mot.com/1582361 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Hujun Liao <liaohj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
f52bed53d0
commit
764634ffd0
1 changed files with 2 additions and 3 deletions
|
|
@ -486,9 +486,8 @@ static void aw882xx_start(struct aw882xx *aw882xx)
|
|||
|
||||
ret = aw882xx_get_cali_re_form_nv(&cali_re);
|
||||
if (ret < 0) {
|
||||
cali_re = ERRO_CALI_VALUE;
|
||||
pr_err("%s: use default vaule %d",
|
||||
__func__ , ERRO_CALI_VALUE);
|
||||
cali_re = 29900; /* 7.3*4096 */
|
||||
pr_err("%s: use default vaule", __func__);
|
||||
}
|
||||
ret = aw882xx_set_cali_re(aw882xx, cali_re);
|
||||
if (ret < 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue