Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp856018pxb; Fri, 28 Jan 2022 11:32:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBBG2dkgkQAoeZLJfsPR2ZlJWEm1zLwR1/KUa/uQZuXQszIk6A9qZw/WZETg1YMN8yqCs4 X-Received: by 2002:a17:906:7812:: with SMTP id u18mr8011516ejm.335.1643398358461; Fri, 28 Jan 2022 11:32:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643398358; cv=none; d=google.com; s=arc-20160816; b=oIfFgW4SlS0R+O4g1a4dZoo2257t5+6OFFKg9JIWNS5sURDPSWewy9PBMKDPbnPbFa AoY7lbE+boBGrDOkRLE+QGU6jacW7KYf+gOhNCzb97c8XEgeJgN9RXw3gKEkvwx0rbOh bg3unU41f8N0+H/oYle/bVfla1FE/ja7cnQge1a8lUqwxTK/oLOqckQdk2HgLEk5fXzP EmIqjzWd11PK4uavmVqrUY1JslNnLKZFWNWOy2Z8Pcb0XHHrWwItIxKth75gEhKv9zZy m+OrlpYRhSXY6W7WekGJiFmgJF/CVFY6x61vpjCbZlEaIqi328yDmpEf0TwK50N+EroD 8zJw== 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=zwV+IBxjsa5cFO3MwcAYGwJH/qw2rT7ZTRRh2U3bjOU=; b=pKa42F+3ZKxMiXWaOS/gVBBJDtq97TELnuKFC5Pko+bz1tybxdDBO5I0FDs+7nuy2R AEA7wDyaksxNRIWd0rr8cwJxcSnZod7iNlYccT0qTAb0iWAHCgwmSNK+CI3u0MAQGW1K 7LF8O08SOKpiHK5YwFk2TcrnLmm8Q+TKqtaYqlyjirBT3g+ZLjdtBbQOfDN5rsZakxR9 Q9/Sin0jYsKn3KSmZ1BVQB4A0qZtWYtqarGUDF+VW0ADd403pGeXDSJ8cSysqbI8+/FZ OS5qsNjieL7kC9Lf5wDwp+Uc5XHWnZ27StNDMdSYhS4+GN7r0FzJlyRL/UrYD0E49JeV Nv5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=LGWFceFN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y17si2845265edd.189.2022.01.28.11.31.37; Fri, 28 Jan 2022 11:32:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=LGWFceFN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235337AbiA0VCW (ORCPT + 99 others); Thu, 27 Jan 2022 16:02:22 -0500 Received: from alexa-out-sd-01.qualcomm.com ([199.106.114.38]:19647 "EHLO alexa-out-sd-01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237278AbiA0VCO (ORCPT ); Thu, 27 Jan 2022 16:02:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1643317335; x=1674853335; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=zwV+IBxjsa5cFO3MwcAYGwJH/qw2rT7ZTRRh2U3bjOU=; b=LGWFceFNhjXF5rLMli6PMVgz8HrLDdcIAAWi/fpBXhFpAxt6j3DskXoG AnvWBGU3CD4LxgdED9tmQISmRx+pXazHIGKbSskH4tyvmirgojltNPTVH dagvlhF0MqFKcklbhL+eHUhojSvw6zsmQxCTxEdQmpkLu3Jxr7lwibQJq g=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-01.qualcomm.com with ESMTP; 27 Jan 2022 13:02:14 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2022 13:02:14 -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.922.19; Thu, 27 Jan 2022 13:02:13 -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.922.19; Thu, 27 Jan 2022 13:02:12 -0800 From: Anjelique Melendez To: CC: , , , , , , , Anjelique Melendez Subject: [PATCH v2 1/4] input: misc: pm8941-pwrkey: fix error message Date: Thu, 27 Jan 2022 13:00:23 -0800 Message-ID: <20220127210024.25597-2-quic_amelende@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220127210024.25597-1-quic_amelende@quicinc.com> References: <20220127210024.25597-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: nalasex01b.na.qualcomm.com (10.47.209.197) To nalasex01a.na.qualcomm.com (10.47.209.196) 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. 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