mfd: arizona: Disable control interface reporting for WM5102 and WM5110
Subsystems (2)
PATCH 1/1 mfd: arizona: Disable control interface reporting for WM5102 and WM5110
Rather than disabling the error reporting only for earlier revisions unconditionally disable it.
Signed-off-by Mark Brown <[email protected]>
---
This is a bug fix for later chip revisons.
drivers/mfd/arizona-irq.c | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-)
drivers/mfd/arizona-irq.c +2 -16
@@ -176,14 +176,7 @@ int arizona_irq_init(struct arizona *arizona) aod = &wm5102_aod; irq = &wm5102_irq; -switch (arizona->rev) { -case 0 : -case 1 : - ctrlif_error = false; -break ; -default : -break ; - } + ctrlif_error = false;break ;#endif #ifdef CONFIG_MFD_WM5110
@@ -191,14 +184,7 @@ int arizona_irq_init(struct arizona *arizona) aod = &wm5110_aod; irq = &wm5110_irq; -switch (arizona->rev) { -case 0 : -case 1 : - ctrlif_error = false; -break ; -default : -break ; - } + ctrlif_error = false;break ;#endif default :
Signature · 1 line
1.7.10.4
Samuel Ortiz
AppliedHi Mark,
Quoted 10 lines · Mark Brown
Rather than disabling the error reporting only for earlier revisions unconditionally disable it.
Signed-off-by Mark Brown <[email protected]>---
This is a bug fix for later chip revisons.
drivers/mfd/arizona-irq.c | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-)
Applied to my for-linus branch.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/