mfd: wm8994: Implement support for WM1811 devices with higher cust_ids
Subsystems (2)
PATCH 1/1 mfd: wm8994: Implement support for WM1811 devices with higher cust_ids
Higher cust_ids have had the device revision field reset so need different handling of GPIO6.
Signed-off-by Mark Brown <[email protected]>
--- drivers/mfd/wm8994-regmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/wm8994-regmap.c +1 -1
@@ -1136,7 +1136,7 @@ static bool wm1811_volatile_register(struct device *dev, unsigned int reg)switch (reg) {case WM8994_GPIO_6 : -if (wm8994->revision >1 ) +if (wm8994->cust_id >1 || wm8994->revision >1 )return true;else return false;
Signature · 1 line
1.7.10.4
Hi Mark,
Quoted 7 lines · Mark Brown
Higher
cust_idshave had the device revision field reset so need different handling of GPIO6.Signed-off-by Mark Brown <[email protected]>--- drivers/mfd/wm8994-regmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied, thanks.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/