Commit e1bfe75d authored by Mark Brown's avatar Mark Brown Committed by Samuel Ortiz

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 7d1f9aef
...@@ -176,14 +176,7 @@ int arizona_irq_init(struct arizona *arizona) ...@@ -176,14 +176,7 @@ int arizona_irq_init(struct arizona *arizona)
aod = &wm5102_aod; aod = &wm5102_aod;
irq = &wm5102_irq; irq = &wm5102_irq;
switch (arizona->rev) { ctrlif_error = false;
case 0:
case 1:
ctrlif_error = false;
break;
default:
break;
}
break; break;
#endif #endif
#ifdef CONFIG_MFD_WM5110 #ifdef CONFIG_MFD_WM5110
...@@ -191,14 +184,7 @@ int arizona_irq_init(struct arizona *arizona) ...@@ -191,14 +184,7 @@ int arizona_irq_init(struct arizona *arizona)
aod = &wm5110_aod; aod = &wm5110_aod;
irq = &wm5110_irq; irq = &wm5110_irq;
switch (arizona->rev) { ctrlif_error = false;
case 0:
case 1:
ctrlif_error = false;
break;
default:
break;
}
break; break;
#endif #endif
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment