Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp929630pxp; Wed, 16 Mar 2022 21:40:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyC5HhlR0uNza9f4RxdDAouMqKSK4hki0VmSXSxQiWDsPzAi0BZSOGdOqS6hWFPNjNFOEL1 X-Received: by 2002:a17:90b:4d05:b0:1bf:7d65:f1f7 with SMTP id mw5-20020a17090b4d0500b001bf7d65f1f7mr3276328pjb.108.1647492008974; Wed, 16 Mar 2022 21:40:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647492008; cv=none; d=google.com; s=arc-20160816; b=DAsdPj/vhlvYOvOsb63s2YH86E9HuhBxzi0Y60IOKWIrG5T9f/PqDpi9GlgXHZTHLh rUOzokK7ARM9IEAdkWbK1+zpvLWJP5IiM7e6JYKt++WfrRlMI4EMgRX9EYm0LRHttZjQ gIdriUN8c+rCEtDK/XBL7bskD/6OfwdHgrH9LNT1ZRlIleRJEnWJHt9HKfvpGwgIhPvn KCDp190Lm2fH+fpXW2kVQEvRbQfrRm8DcGRzsYqLwL4eUcbZmrL7vI0/k83lcbJ/QxPL XUv+KtAH7z9jKSQAqPeLIkA/1vwOZXrSKYyF279mGYexK59OSMohB2oRGvxUJrg9oB+c vX/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=d8UDUPCagSybiysvIhI5BIqU58eMg3iRfrR4eYtybjA=; b=ePTX5QGqPN2acwsnejZxgD2Jnd5rrIhJWMS5i0IPhedFim4ctUw4hxme7RVwYzrqH1 safZ/rBCsn9KsWaFUStujjC5eK+g68sZYHNr8oh8hC80SHDQcThHGMhyeNiU6ODc3vHI AEx1zaFT4lL/X2VpnVNSlmOmQxlf7zH2WK8xz88XkI5E9hV45NhYplk78PBFn6S8nlRV zg28clGxqPWUzIbd9vNxIeGQkz0ZzG1x971pN6t9zcI+18hLv76MTcGylIvV3mFkEzc0 98XG7Ze9+53I3qA9rF6xDymZ6aR8MleCB5WWNfbnUlhqoqVgc8wRnSye3NMwi6mLxcrA t3Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xtASAU7w; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id e10-20020aa7824a000000b004f743724c7esi3471754pfn.380.2022.03.16.21.40.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 21:40:08 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xtASAU7w; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A69CC122222; Wed, 16 Mar 2022 21:04:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349264AbiCPSDL (ORCPT + 99 others); Wed, 16 Mar 2022 14:03:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236096AbiCPSDJ (ORCPT ); Wed, 16 Mar 2022 14:03:09 -0400 Received: from mail-oo1-xc31.google.com (mail-oo1-xc31.google.com [IPv6:2607:f8b0:4864:20::c31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEB1440919 for ; Wed, 16 Mar 2022 11:01:51 -0700 (PDT) Received: by mail-oo1-xc31.google.com with SMTP id y27-20020a4a9c1b000000b0032129651bb0so3640132ooj.2 for ; Wed, 16 Mar 2022 11:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d8UDUPCagSybiysvIhI5BIqU58eMg3iRfrR4eYtybjA=; b=xtASAU7wDaIm+b/Xk6+2pUb1aGShhm7O6WqcS5BCdDlhIoH84j1qti5oFq6+1TJ5SI J+layVpKVy7aWAleN7DXxRh1KI/dZcBnK0lFxO03FcRDLr6qpcXmw262hV51mA/7zO+3 pfuk9u1pV3OCrMr3mq/OP8U5zh6V3ZoMhX01oiWRxrcMYRXGRl4bdZWoJqJkCyRPhUz0 nzBW9oPfswwJ43raEMm8zxOMPGlzbPi8r3fZauMB3GFzH8rwD5S4w2wT2mo9vNj3GRjT k6FN/PnenP5VxUbriuoN/vOXjDXviD7XKwO+eA9aPW8MHVhjwh1sQryZ/2JcVR2M3nF5 mVTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d8UDUPCagSybiysvIhI5BIqU58eMg3iRfrR4eYtybjA=; b=qw1mcNl8Sso6O0X0xO/yZLCD2SLupgKQ+sqCSe2/ZcoasRqdE6EKVCvVFKR3TqVdHv OGYAduu9kBthC2Rifbr9ZlEdiUYNh6A8lEbuy8CvS0QuLPnBLYVBQGaBzVWHgySRBmMG zzMl5/FMmAiPR6kNt72SJD3YXzm6MykoUs5GNqqdQzFxYTK7qnueuj6ncgVlHK3+NyH0 02RmbryfSHNyxCi8EQd90uKglxr5vVGs7Uw316LXnv4joG4C8I5r/PhsNFZeg25NgZXs KxmPI5K0SNdaTt1qA/bR5xHfLlucYbVXxGRzds/ABzZGmrPvOxyh/wh1O6Gs+89PXj7d 6A6g== X-Gm-Message-State: AOAM533v9Ck37tKi0VW1rFOIR3OyByycTpvT7glWPhVhzn8ntP5nkDUg 27Z3sGzCbM9R/Tk4kEBYuziFxQ== X-Received: by 2002:a05:6870:4195:b0:da:9790:288b with SMTP id y21-20020a056870419500b000da9790288bmr387093oac.284.1647453710856; Wed, 16 Mar 2022 11:01:50 -0700 (PDT) Received: from ripper.. ([2600:1700:a0:3dc8:205:1bff:fec0:b9b3]) by smtp.gmail.com with ESMTPSA id 96-20020a9d0469000000b005c959dd643csm1215810otc.3.2022.03.16.11.01.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 11:01:49 -0700 (PDT) From: Bjorn Andersson To: Amit Kucheria , Thara Gopinath , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui Cc: linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] thermal/drivers/qcom/lmh: Fix irq handler return value Date: Wed, 16 Mar 2022 11:03:22 -0700 Message-Id: <20220316180322.88132-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After enough invocations the LMh irq is eventually reported as bad, because the handler doesn't return IRQ_HANDLED, fix this. Fixes: 53bca371cdf7 ("thermal/drivers/qcom: Add support for LMh driver") Reported-by: Daniel Lezcano Signed-off-by: Bjorn Andersson --- drivers/thermal/qcom/lmh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/qcom/lmh.c b/drivers/thermal/qcom/lmh.c index c7f91cbdccc7..af9f0872614f 100644 --- a/drivers/thermal/qcom/lmh.c +++ b/drivers/thermal/qcom/lmh.c @@ -45,7 +45,7 @@ static irqreturn_t lmh_handle_irq(int hw_irq, void *data) if (irq) generic_handle_irq(irq); - return 0; + return IRQ_HANDLED; } static void lmh_enable_interrupt(struct irq_data *d) -- 2.33.1