From 774d465f98a18290d3f466800e0c23bb783e7383 Mon Sep 17 00:00:00 2001 From: Durgadoss R Date: Tue, 6 Dec 2011 21:38:45 +0530 Subject: [PATCH] EM/THERMAL: Initialize irq for msic_thermal in intel_msic.c BZ: 15135 This patch adds the irq entry necessary for platform thermal driver. Since there is no IRQ for this driver, 0xff is assigned. This is due to change in mrst.c from K2.6.35 to K3.0. Without this change the intel_mid_thermal.c driver will not load in K3.0. Change-Id: Idd9a88c026a95623cfe7de79b722b3138fca2b71 [Ported to R3]Change-Id: Ifdceafacf40fa9a795bd8c52172985071b578d29 Signed-off-by: Durgadoss R Reviewed-on: http://android.intel.com:8080/29249 Reviewed-by: Gugwad, SantoshX Tested-by: Gugwad, SantoshX Reviewed-by: buildbot Tested-by: buildbot --- drivers/mfd/intel_msic.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/intel_msic.c b/drivers/mfd/intel_msic.c index 1340e06..db46741 100644 --- a/drivers/mfd/intel_msic.c +++ b/drivers/mfd/intel_msic.c @@ -346,6 +346,9 @@ static int __devinit intel_msic_init_devices(struct intel_msic *msic) cell->pdata_size = sizeof(*pdata->gpadc); } + /* No IRQ for msic_thermal. So assign 0xff */ + pdata->irq[INTEL_MSIC_BLOCK_THERMAL] = 0xff; + for (i = 0; i < ARRAY_SIZE(msic_devs); i++) { if (!pdata->irq[i]) continue; -- 2.7.4