Received: by 10.192.165.148 with SMTP id m20csp825038imm; Fri, 27 Apr 2018 08:06:22 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoyZIK/Sqq+z+CpVgKRx7R+VYf1tUByuL5mNf65QL2XE9PrV12+hke8kVePwoaerKPUHmjl X-Received: by 2002:a65:5686:: with SMTP id v6-v6mr2373428pgs.92.1524841582162; Fri, 27 Apr 2018 08:06:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524841582; cv=none; d=google.com; s=arc-20160816; b=bsdSld7EFKOIONWGEG/BmPepXVcPRTsB5+PbZkrK5sdzQFQS08t98oB9IyooUHBt0g OamQk0/D0q0pKw2ors82rhO6HkblHtWhC2hvT8vq6FQoWR9lG8EWmEttg8+86Dsn12hK 09zoVce7JTAgHPv8YUaNwlRtnGC1e99OkWhtetl7GjdveHBmy+W2btN85abXPFlwQJD4 5g/WovCZOIIqJY75UxqNm04P8r2O25P6d/MMcZDCWLmtI878wSGrV13jZTq5ejeRq3/p UAOSpqYDsuzqWqcnsZEc08Iti+2SCQ1zcqFKfmprDWx6ilv2DV+RexJlOue01WLj8uIN 4sNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dmarc-filter :arc-authentication-results; bh=c5gqnVEjyPX8LcGx5pmNxkxElc/BvxtC1andBLMKLHA=; b=GRMhagXDCNmzEPEN1yfd+9UBWh9cm0+8iH3xrrzu2/UvL3hlTLuvhijGNP00HKFJC4 Ix6qcEIcTDFAlGW1rImpXa50DhHDJfmBIWQnNUMRCC+4kDB0ojoNTjPxhrtejN0W4DJg Riu4cHCmvISi7z+ZBJx7Q81HJ/+IT1MpgNgm7sohMWFL67i8yDmfj4awdTqhhh+YFEaG ctETHClv2cXMqCe7QxfgWo3S/qR6luWhlxnz3/dFSRHXBRTPou1tNnsAdJmAPCp5R904 M2wM53MIR96vNvQhdBz2o8WJgVKPJw5Jn2IA5wCZ/VdmrCZ0mvCQZ2XUe+5AHbBiOrsC EUkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z23-v6si1421781plo.597.2018.04.27.08.06.07; Fri, 27 Apr 2018 08:06:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933828AbeD0OFA (ORCPT + 99 others); Fri, 27 Apr 2018 10:05:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:51188 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933503AbeD0OEw (ORCPT ); Fri, 27 Apr 2018 10:04:52 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 58E08218A3; Fri, 27 Apr 2018 14:04:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 58E08218A3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=gregkh@linuxfoundation.org From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dan Murphy , Dmitry Torokhov , Amit Pundir Subject: [PATCH 4.9 12/74] Input: drv260x - fix initializing overdrive voltage Date: Fri, 27 Apr 2018 15:58:02 +0200 Message-Id: <20180427135710.404946572@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427135709.899303463@linuxfoundation.org> References: <20180427135709.899303463@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Dmitry Torokhov commit 74c82dae6c474933f2be401976e1530b5f623221 upstream. We were accidentally initializing haptics->rated_voltage twice, and did not initialize overdrive voltage. Acked-by: Dan Murphy Signed-off-by: Dmitry Torokhov Cc: Amit Pundir Signed-off-by: Greg Kroah-Hartman --- drivers/input/misc/drv260x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/input/misc/drv260x.c +++ b/drivers/input/misc/drv260x.c @@ -521,7 +521,7 @@ static int drv260x_probe(struct i2c_clie if (!haptics) return -ENOMEM; - haptics->rated_voltage = DRV260X_DEF_OD_CLAMP_VOLT; + haptics->overdrive_voltage = DRV260X_DEF_OD_CLAMP_VOLT; haptics->rated_voltage = DRV260X_DEF_RATED_VOLT; if (pdata) {