diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-05 11:46:04 +0900 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-01-22 01:17:29 +0100 |
commit | e1bfe75d66f809ad61d0a6d070dc78bb05369026 (patch) | |
tree | d8e4532f5b82b9a2edfe9fed50b8dbb4e6e6e74b /drivers | |
parent | 7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619 (diff) | |
download | blackbird-op-linux-e1bfe75d66f809ad61d0a6d070dc78bb05369026.tar.gz blackbird-op-linux-e1bfe75d66f809ad61d0a6d070dc78bb05369026.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/arizona-irq.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c index 74713bf5371f..2bec5f0db3ee 100644 --- a/drivers/mfd/arizona-irq.c +++ b/drivers/mfd/arizona-irq.c @@ -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: |