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

Commit 29336e8d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: mfd: Mark ANC coefficients registers as volatile"

parents 230f3f1f ac26309a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1327,6 +1327,13 @@ static bool wcd9335_is_volatile_register(struct device *dev, unsigned int reg)
	    (reg <= WCD9335_CDC_SIDETONE_IIR1_IIR_COEF_B2_CTL))
		return true;

	if ((reg >= WCD9335_CDC_ANC0_IIR_COEFF_1_CTL) &&
	    (reg <= WCD9335_CDC_ANC0_IIR_COEFF_2_CTL))
		return true;

	if ((reg >= WCD9335_CDC_ANC1_IIR_COEFF_1_CTL) &&
	    (reg <= WCD9335_CDC_ANC1_IIR_COEFF_2_CTL))
		return true;
	/*
	 * CPE inbox and outbox registers are volatile
	 * since they can be updated in the codec hardware