Commit 1305babe authored by Joonwoo Park's avatar Joonwoo Park
Browse files

ASoC: wcd9310: Don't request irq until MBHC is fully configured



There is a chance that MBHC irq is requested even before MBHC isn't fully
configured when ACDB calibration data is downloaded from file system.
Make sure to request irq after configuring MBHC to avoid unwanted early
irq.  If interrupt asserts too early, divide by zero exception can occur
during voltage calculation.

CRs-fixed: 363895
Change-Id: Ib7aecfe5892043d797aafbef49da617edc7ac205
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 2cc13f08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment