Commit e1bfe75d66f809ad61d0a6d070dc78bb05369026
Committed by
Samuel Ortiz
1 parent
7d1f9aeff1
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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 <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Showing 1 changed file with 2 additions and 16 deletions Side-by-side Diff
drivers/mfd/arizona-irq.c
... | ... | @@ -176,14 +176,7 @@ |
176 | 176 | aod = &wm5102_aod; |
177 | 177 | irq = &wm5102_irq; |
178 | 178 | |
179 | - switch (arizona->rev) { | |
180 | - case 0: | |
181 | - case 1: | |
182 | - ctrlif_error = false; | |
183 | - break; | |
184 | - default: | |
185 | - break; | |
186 | - } | |
179 | + ctrlif_error = false; | |
187 | 180 | break; |
188 | 181 | #endif |
189 | 182 | #ifdef CONFIG_MFD_WM5110 |
... | ... | @@ -191,14 +184,7 @@ |
191 | 184 | aod = &wm5110_aod; |
192 | 185 | irq = &wm5110_irq; |
193 | 186 | |
194 | - switch (arizona->rev) { | |
195 | - case 0: | |
196 | - case 1: | |
197 | - ctrlif_error = false; | |
198 | - break; | |
199 | - default: | |
200 | - break; | |
201 | - } | |
187 | + ctrlif_error = false; | |
202 | 188 | break; |
203 | 189 | #endif |
204 | 190 | default: |