Thread (9 messages) 9 messages, 6 authors, 2016-05-09

Re: [PATCH] mfd: intel_soc_pmic_core: Terminate panel control GPIO lookup table correctly

From: Lee Jones <hidden>
Date: 2016-05-09 07:18:27
Also in: intel-gfx, linux-gpio

On Fri, 22 Apr 2016, ville.syrjala@linux.intel.com wrote:
From: Ville Syrjälä <redacted>

GPIO lookup tables are supposed to be zero terminated. Let's do that
and avoid accidentally walking off the end.

Cc: Shobhit Kumar <redacted>
Cc: Samuel Ortiz <redacted>
Cc: Linus Walleij <redacted>
Cc: Alexandre Courbot <redacted>
Cc: Thierry Reding <redacted>
Cc: Lee Jones <redacted>
Cc: stable@vger.kernel.org
Fixes: 61dd2ca2d44e ("mfd: intel_soc_pmic_core: Add lookup table for Panel Control as GPIO signal")
Signed-off-by: Ville Syrjälä <redacted>
---
 drivers/mfd/intel_soc_pmic_core.c | 1 +
 1 file changed, 1 insertion(+)
Applied with Linus' and Daniel's Ack.
quoted hunk ↗ jump to hunk
diff --git a/drivers/mfd/intel_soc_pmic_core.c b/drivers/mfd/intel_soc_pmic_core.c
index d9e15cf7c6c8..12d6ebb4ae5d 100644
--- a/drivers/mfd/intel_soc_pmic_core.c
+++ b/drivers/mfd/intel_soc_pmic_core.c
@@ -35,6 +35,7 @@ static struct gpiod_lookup_table panel_gpio_table = {
 	.table = {
 		/* Panel EN/DISABLE */
 		GPIO_LOOKUP("gpio_crystalcove", 94, "panel", GPIO_ACTIVE_HIGH),
+		{ },
 	},
 };
 
-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help