Re: [PATCH] mfd: arizona: Disable control interface reporting for WM5102 and WM5110
Hi Mark, On Wed, Dec 05, 2012 at 11:46:04AM +0900, Mark Brown wrote: > Rather than disabling the error reporting only for earlier revisions > unconditionally disable it. > > Signed-off-by: Mark Brown > --- > > 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. -- Intel Open Source Technology Centre http://oss.intel.com/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] mfd: arizona: Disable control interface reporting for WM5102 and WM5110
Hi Mark, On Wed, Dec 05, 2012 at 11:46:04AM +0900, Mark Brown wrote: Rather than disabling the error reporting only for earlier revisions unconditionally disable it. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- 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. -- Intel Open Source Technology Centre http://oss.intel.com/ -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] 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 --- This is a bug fix for later chip revisons. drivers/mfd/arizona-irq.c | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c index b1b0091..113805d 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 = _aod; irq = _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 = _aod; irq = _irq; - switch (arizona->rev) { - case 0: - case 1: - ctrlif_error = false; - break; - default: - break; - } + ctrlif_error = false; break; #endif default: -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] 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 broo...@opensource.wolfsonmicro.com --- This is a bug fix for later chip revisons. drivers/mfd/arizona-irq.c | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c index b1b0091..113805d 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: -- 1.7.10.4 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/