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

Commit db86472e authored by Banajit Goswami's avatar Banajit Goswami
Browse files

mfd: wcd9xxx: mark wcd9335 RCO control register as volatile



The Analog RCO control register in WCD9335 codec should
be a volatile register and should bypass cache. Mark this
register as volatile.

Change-Id: I101e632acc2e2e42e0469bd2602dd684be86ac26
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
parent f81d0b1f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1588,6 +1588,7 @@ static bool wcd9335_is_volatile_register(struct device *dev, unsigned int reg)
	case WCD9335_VBADC_ADC_DOUTMSB:
	case WCD9335_VBADC_ADC_DOUTLSB:
	case WCD9335_CDC_VBAT_VBAT_GAIN_MON_VAL:
	case WCD9335_ANA_BUCK_CTL:
		return true;
	default:
		return false;