Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp751477imu; Thu, 20 Dec 2018 04:55:34 -0800 (PST) X-Google-Smtp-Source: AFSGD/WYuJFC8rBtxUv8eIkJa/mQH/XgGvNWqFYDVSVHiqxLhS52ycZpcTSWLkstANodIjfjnmZI X-Received: by 2002:a17:902:bc44:: with SMTP id t4mr23061427plz.260.1545310534894; Thu, 20 Dec 2018 04:55:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545310534; cv=none; d=google.com; s=arc-20160816; b=K+cV9xIxCQQZy7enc25J7aWxneheRPxsw1YhGs7cGtuJCEe0bP2QOhl5vPM0zgtAPl 7QV2itmwEslXog5IqFwrMiikaCJYxu5cXFmOT08rRJlppqh0591iHoj9Kkv7XgxyN4l9 N+RUtfnOe4/rEmMMFMr6cFk+XgT0R1gXl04bIjGlAxnJ/8c65t94NJ+r/EnrqlE2/9KL fVLAN1OgvkIMypwJvCG4/3JMdqL77HfcXA5L84y/GfoAVKGRK4YnGnPX7Smg9laQuBS4 neR3j/wXQJKjNUiLY4+7VzQlDU9nbaU7D5TSpZbLE8MImXsVy2AWcJtOwe3BjiKK1q3J VCrg== 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=VnjUnSIAKaCkUwI7vC95ne/n1bJu9sZSzP7LTAmjIM8=; b=yh1B52JwbnaaHf5a3Hwx70vt8zxnaZpWJ0Px9fj3uu0/0B2UvlDr0Bb6BeVdg3JC/l 3+9rz7SqRKWSoBvyBYBfZliltdqI+G7pkb4aDvSaHzjrcjwN/Ta5lb8VmS2zD8t2uuo1 n1VCmeQfnrNuGl4BhbIH2g8Yg5AXphDNDRdEzIDR6HrglnNDMvkksPedWiiY6Q8nHRMG RivTMa0mAEB23QfCuQ/q4+GRNLzCGI69C5eyPEilRGZCohOPOU/vssxl5LpRARs3LZun 7TTXLJsbmb5naCdvg3dt52HB+SvxA1H8EIH6q2+heFvPaK4idQ4h3KKiz9qntRhiTRe7 dGdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LDf5ut8i; 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 d125si19414871pfc.114.2018.12.20.04.55.18; Thu, 20 Dec 2018 04:55:34 -0800 (PST) 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=LDf5ut8i; 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 S1732043AbeLTJ0K (ORCPT + 99 others); Thu, 20 Dec 2018 04:26:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:50754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731354AbeLTJ0C (ORCPT ); Thu, 20 Dec 2018 04:26:02 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.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 37AB1217D7; Thu, 20 Dec 2018 09:26:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545297961; bh=Gb7ttCTwM+B5vF7s7TPDLjx+vk7BFe2Zg+8nOHpZJvY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LDf5ut8i1QdKF8c+KKlyff9yEzoBp1EZuY+0Yzuiw1R2nqlzD+HXKtLTFZoOJaTgt pa1Vkgl60tK4mt+zs23x27sIgTAPUSPL74MlXeadSi4Tt8caq1b9vO5AtOk3Cz06JN 6KK59d0bqtg8eIeuqlD3wPlgccJHOkq6gPo66CvY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chen-Yu Tsai , Maxime Ripard , Linus Walleij Subject: [PATCH 4.14 02/72] pinctrl: sunxi: a83t: Fix IRQ offset typo for PH11 Date: Thu, 20 Dec 2018 10:18:01 +0100 Message-Id: <20181220085922.422186747@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20181220085922.332225035@linuxfoundation.org> References: <20181220085922.332225035@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore 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 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Chen-Yu Tsai commit 478b6767ad26ab86d9ecc341027dd09a87b1f997 upstream. Pin PH11 is used on various A83T board to detect a change in the OTG port's ID pin, as in when an OTG host cable is plugged in. The incorrect offset meant the gpiochip/irqchip was activating the wrong pin for interrupts. Fixes: 4730f33f0d82 ("pinctrl: sunxi: add allwinner A83T PIO controller support") Cc: Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Signed-off-by: Linus Walleij Signed-off-by: Greg Kroah-Hartman --- drivers/pinctrl/sunxi/pinctrl-sun8i-a83t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/pinctrl/sunxi/pinctrl-sun8i-a83t.c +++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-a83t.c @@ -568,7 +568,7 @@ static const struct sunxi_desc_pin sun8i SUNXI_PIN(SUNXI_PINCTRL_PIN(H, 11), SUNXI_FUNCTION(0x0, "gpio_in"), SUNXI_FUNCTION(0x1, "gpio_out"), - SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 1)), /* PH_EINT11 */ + SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 11)), /* PH_EINT11 */ }; static const struct sunxi_pinctrl_desc sun8i_a83t_pinctrl_data = {