Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp254622yba; Mon, 20 May 2019 08:11:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyDDXe2/SlEwm7Oy1Afh1rE9K+Tk23jJot5VDmcfph4eRzvPolfpEhgthYf4pyzUTu32Qmb X-Received: by 2002:a63:58b:: with SMTP id 133mr76525130pgf.138.1558365068720; Mon, 20 May 2019 08:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558365068; cv=none; d=google.com; s=arc-20160816; b=jc0HbVzFgbGoo4hiosXFwhf8alZxf9l88ww7daKdj8kaHHHNG8e3sYbSTmLplqEwZx pG6J9njWZWY/IOM2wHe7c2LtyLP0apYy63AN+s0m7dW+j7/fqsifXvQcsfALw3QMKK0C bCQAP5nzsMJPjd9lAEMBcPqzjYMgKnvtKI90322IQnMZzmxd4lk/05tuIIXjfmo9AGyv hzsG0hxhyjU5hlq89DxmqXE2usNNCFgvsGRFQuUQ6AI+47uSrVdJ/GerVqJbc46zK9gt LQ4HwtsZsb0Cko9Tlo3qIuGHpOkFXgLEjyPp6pVkJUWrfCQMwM6jIbkZAImrZkO9Bwgu 1m0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ZqeBRYubVu2j565+V+XspeRlHWqrhkVAqhnq7GSIF9M=; b=dIaBtJNyLQrqos9M74cJC2iZTk0ZuNqxogKRV87v8yP4iLWwN4jCQoriMVEJKIQtkZ cmu7hXcgnh8bSHLhaXtPvgpz92LcGqeSlBzVCkjFTC8Yc4PyLhmxMF/8oU9Fhu8j9Pdb V/gjCLc0s+iEN2RWgRDZPLoVVqsIfN2e/jb9g20xhI4pX9C14Hbn9860c6eI5PazDrPV yG9huo5gcKghZ18T29d8Rv3y/fW5gN9A6AbtZw2ax7wx7mZzprCRyy1wsBwi8YI9VanN hUgVHsmPVIEY7ApEIFyeAg6FL6sO7Ns9BdmqHQzjEoI59IQP8xA9pmd2KJWZntyogOlJ G28g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NR5VXJvc; 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 r10si19333784pfh.147.2019.05.20.08.10.53; Mon, 20 May 2019 08:11:08 -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; dkim=pass header.i=@kernel.org header.s=default header.b=NR5VXJvc; 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 S2388592AbfETMXZ (ORCPT + 99 others); Mon, 20 May 2019 08:23:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:37794 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388584AbfETMXY (ORCPT ); Mon, 20 May 2019 08:23:24 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 545E120675; Mon, 20 May 2019 12:23:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558355003; bh=7msc1tKFakpzZ9gI2yrE7V/oN5Mph5vD65JhgljuaQs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NR5VXJvcejvFQYg2HQVquPZUH/GrWer2HG3fJEfwCkWA1ho0Vha1s0mdWR53I918o lEXIHnK0TQUc8CyBvW+CV6LxiM+KKLwfANAc2RBa+ukLXA697Q96qb1jhl73E9aUMc h9ynt1wTnOkNSoWe9xW+7moIJjvpoxWBEGYtdcUI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dmitry Osipenko , Lee Jones Subject: [PATCH 4.19 061/105] mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values Date: Mon, 20 May 2019 14:14:07 +0200 Message-Id: <20190520115251.355430786@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190520115247.060821231@linuxfoundation.org> References: <20190520115247.060821231@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dmitry Osipenko commit ea611d1cc180fbb56982c83cd5142a2b34881f5c upstream. The FPS_PERIOD_MAX_US definitions are swapped for MAX20024 and MAX77620, fix it. Cc: stable Signed-off-by: Dmitry Osipenko Signed-off-by: Lee Jones Signed-off-by: Greg Kroah-Hartman --- include/linux/mfd/max77620.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/include/linux/mfd/max77620.h +++ b/include/linux/mfd/max77620.h @@ -136,8 +136,8 @@ #define MAX77620_FPS_PERIOD_MIN_US 40 #define MAX20024_FPS_PERIOD_MIN_US 20 -#define MAX77620_FPS_PERIOD_MAX_US 2560 -#define MAX20024_FPS_PERIOD_MAX_US 5120 +#define MAX20024_FPS_PERIOD_MAX_US 2560 +#define MAX77620_FPS_PERIOD_MAX_US 5120 #define MAX77620_REG_FPS_GPIO1 0x54 #define MAX77620_REG_FPS_GPIO2 0x55