Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp266129pxm; Wed, 2 Mar 2022 14:59:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJx17izRWl1aTqRdayULFTpb0/vI/4642Ga6d1JVwZf5B91qoCcCymEvwag+EGHUN7b5WEs2 X-Received: by 2002:a17:902:ce91:b0:150:3f7:5096 with SMTP id f17-20020a170902ce9100b0015003f75096mr32198384plg.128.1646261984471; Wed, 02 Mar 2022 14:59:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646261984; cv=none; d=google.com; s=arc-20160816; b=aq+OUKtXHCtx/SUZHBfTDUZd3B1GIqVareO3+Esfihm1cQvynHxsyEySXRNbj2T/oj XWhuWNF0Vq1QcGEHkEya5gHRMI0TR6xMsR4ZFqNUSG35Lz2K0vTjmVgRzI9VGjq3TfiX RliMmiqXMh48aIkoKq8t+BNvCSJj+Yep1JUex00MPJL5UfsppkW9t+2uOLUe7w6nnPzj g5VHja+mhSRhFRfxhb3fyUAiNizAU6xWNarsywJIjxg15q/mGKodEiaXot7F8vbfHk7g 2xOwT1KbgxHLMVINtWQATyMULloloxAHgdrV5q46i5lE3BuTWLEvTQE0ve1kp4chUojk 1Lwg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AnJQX6Hs108noH/jyS1i5d0WXn1WwhOydCmt3EILaKM=; b=crI/GFtQ0ouANnfSfFE5+B6Mn+VhlRbofKRbTn7gVpDEBIE4eWrF6rBx40E7HMDYdm zFBm8M7yE1urXM0zrtIKeVt6P1S3U9p2x5ykSNstrAitGKQdYAD/GjdsQ7D0JxV2hngV szzjq7hm5M4v7cm65qDnTfZ1VrX8hCTvK1O5BjLayTdyq268gq11WhO3TX/fgM2QZLqv AAFsBV6Yr4Bc0AiJQMT/OOczrqpDwMFu0BnVIymC8oQYvkxtXfdcevtTbXEx4aDBK2IL F2SMmMSNTZ6F/L50UX8Szjs4VLPMtD3z0vERG8PBBcQwCbg2MteoVzH15GFTNtalEsia s5Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=owHzflX4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t9-20020a655549000000b00373c8d84a68si398152pgr.82.2022.03.02.14.59.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 14:59:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=owHzflX4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6AB411275D8; Wed, 2 Mar 2022 14:45:34 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244702AbiCBSrL (ORCPT + 99 others); Wed, 2 Mar 2022 13:47:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234374AbiCBSrJ (ORCPT ); Wed, 2 Mar 2022 13:47:09 -0500 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A060DD2262; Wed, 2 Mar 2022 10:46:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1646246785; x=1677782785; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AnJQX6Hs108noH/jyS1i5d0WXn1WwhOydCmt3EILaKM=; b=owHzflX4czHR+B9g+43B04fHJ8vwXWodlqJ9zEqYBFFu0EepaNhxx0Cu h2/o3FnAEw1eTQqwufciOvV6CCuZfawv0/hKBiGNHM4Py8GbObKbGB4ug wbk8xDP/UILHVK1gPPyLw+Q9cd8HQptZ5ThgxZUPGqlGwSLXGSZrqRpbH E=; Received: from unknown (HELO ironmsg01-sd.qualcomm.com) ([10.53.140.141]) by alexa-out-sd-01.qualcomm.com with ESMTP; 02 Mar 2022 10:46:25 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg01-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Mar 2022 10:46:25 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Wed, 2 Mar 2022 10:46:24 -0800 Received: from hu-amelende-lv.qualcomm.com (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Wed, 2 Mar 2022 10:46:24 -0800 From: Anjelique Melendez To: CC: , , , , , , , Anjelique Melendez Subject: [RESEND PATCH v4 1/4] input: misc: pm8941-pwrkey: fix error message Date: Wed, 2 Mar 2022 10:45:23 -0800 Message-ID: <20220302184525.19781-2-quic_amelende@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220302184525.19781-1-quic_amelende@quicinc.com> References: <20220302184525.19781-1-quic_amelende@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nalasex01a.na.qualcomm.com (10.47.209.196) 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 Currently, error message reads "failed to set debounce". However, code is attempting to read revision not set debounce. Fix this. Reviewed-by: Stephen Boyd Signed-off-by: Anjelique Melendez --- drivers/input/misc/pm8941-pwrkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/misc/pm8941-pwrkey.c b/drivers/input/misc/pm8941-pwrkey.c index 33609603245d..e0240db12d4f 100644 --- a/drivers/input/misc/pm8941-pwrkey.c +++ b/drivers/input/misc/pm8941-pwrkey.c @@ -217,7 +217,7 @@ static int pm8941_pwrkey_probe(struct platform_device *pdev) error = regmap_read(pwrkey->regmap, pwrkey->baseaddr + PON_REV2, &pwrkey->revision); if (error) { - dev_err(&pdev->dev, "failed to set debounce: %d\n", error); + dev_err(&pdev->dev, "failed to read revision: %d\n", error); return error; } -- 2.34.1