From b90935ca9560bd3e3b73d5f02dd167a730baa075 Mon Sep 17 00:00:00 2001 From: Srinivas Rao L Date: Fri, 25 May 2018 12:58:50 +0530 Subject: [PATCH] drivers: irqchip: qcom: Update PDC pin data for SM6150 Add last entry as -1 in the pdc pin data for the loops that break by checking if greater than 0. Change-Id: Id2ae698a0526f2cf8946697bab12a9513db107e8 Signed-off-by: Srinivas Rao L --- drivers/irqchip/qcom/pdc-sm6150.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/qcom/pdc-sm6150.c b/drivers/irqchip/qcom/pdc-sm6150.c index 4a471059e3d1..b05be12f5c78 100644 --- a/drivers/irqchip/qcom/pdc-sm6150.c +++ b/drivers/irqchip/qcom/pdc-sm6150.c @@ -141,6 +141,7 @@ static struct pdc_pin sm6150_data[] = { {123, 670},/*core_bi_px_gpio_51*/ {124, 671},/*core_bi_px_gpio_88*/ {125, 95},/*core_bi_px_gpio_39*/ + {-1}, }; static int __init qcom_pdc_gic_init(struct device_node *node,