Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7bf8526a authored by Zheng Zhang's avatar Zheng Zhang Committed by android-build-merger
Browse files

audio: hal: fix power issue if tfa98xx calibration failed

am: 32847eff

Change-Id: I1ad42ba78f92b51f8ef7834641eaef8887ec1c53
parents a75e1cd4 32847eff
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -512,7 +512,6 @@ int audio_extn_tfa_98xx_init(struct audio_device *adev)
        ret = data->set_speaker_calibration(0);
        if (ret) {
            ALOGE("%s: exTfa98xx_calibration return %d\n", __func__, ret);
            goto err_init;
        }

        ret = tfa_98xx_set_audio_mode(I2S_CLOCK_DISABLE, adev, Audio_Mode_Music_Normal);