Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp4586442pja; Thu, 21 Nov 2019 22:21:03 -0800 (PST) X-Google-Smtp-Source: APXvYqzSN9tKKQ2ZBJP5uLHxVv71A5faBxbgSpTqfzcA3AFq6VlDkcUgpp6RKvSSZaBc8/qT+Akk X-Received: by 2002:a17:906:3396:: with SMTP id v22mr19379560eja.169.1574403663742; Thu, 21 Nov 2019 22:21:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574403663; cv=none; d=google.com; s=arc-20160816; b=WqXtFaNUVGENBvO0tWoJpkPbSi1+4DFuOeEEwjjGt7l2T/7djjX/OOIbzPYdfVW+uo hLA0Vv80Qd5r+A/ImZghr/0Zk6eCY4ap+x34jaoJe4uamf5l1s0QfG9jsIJiQdJwPrnc nLwJb2bFDfc0LHQ6YlD7DFN3qldIwlOmJJiuhPMrQYpq9bGZcagede9Wz8Mxo49ftcyq ostij1RuUqWyy4xgfy9UPhEq88K17O8Yzf4R/FDntoRVio2WQAeqGSkeOPkdkdi4iK96 kxrimRnLzM4aEalKNv4Owd6oaKEnRTBIK5MYPJvPYwY6yEpAJRTfPLu6zSkN5EZMXj02 tjFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=rk7vz1UCuS8phgp2BKGByywf+5pxgQ5iY72wjNdjWFw=; b=EX2ztcHGbP5CLAgL5Q6eDKBXtZJ/TaFt06/7QCpikxucValIIOfhlZYgb5zWZ/IrqM Y4ZkmGR+g08KaM6LtE9D+ASji/4fXpfQqBGZD3Mjaqh0r76hZgdwxxUZuhZWioW4ZGk3 kLjrbEZzTWvqYdZ4fI7qyr7/QrLItRtLCf2edzv2AZEkyP5cxu8kpKic2YBeKlhItx8L LeA07PCxc+nKBha3BMWwG2n9KUIDMMw/F8/uvJ2/7+ojyB1ExV2eCghUq4H1Toun9hv7 NfS+I0rB5sni/ftf7EueBrUJ3qCAav91QiFmSPreeBiSWNWhtb13EsbDongdyxc+XQAI eacQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id mj10si3616989ejb.7.2019.11.21.22.20.39; Thu, 21 Nov 2019 22:21:03 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729745AbfKVGTC (ORCPT + 99 others); Fri, 22 Nov 2019 01:19:02 -0500 Received: from inva021.nxp.com ([92.121.34.21]:57604 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729691AbfKVGTA (ORCPT ); Fri, 22 Nov 2019 01:19:00 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6BD8D2006C5; Fri, 22 Nov 2019 07:18:58 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 3B0FF200AEA; Fri, 22 Nov 2019 07:18:53 +0100 (CET) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id ECA14402B3; Fri, 22 Nov 2019 14:18:46 +0800 (SGT) From: Hui Song To: Shawn Guo , Li Yang , Rob Herring , Mark Rutland , Linus Walleij , Bartosz Golaszewski Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Song Hui Subject: [PATCH v1] gpio : mpc8xxx : ls1088a/ls1028a edge detection mode bug fixs. Date: Fri, 22 Nov 2019 14:18:39 +0800 Message-Id: <20191122061839.24904-1-hui.song_1@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Song Hui On these boards, the irq_set_type must point one valid function pointer that can correctly set both edge and falling edge. Signed-off-by: Song Hui --- drivers/gpio/gpio-mpc8xxx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c index 81f0f31..8ddb23b 100644 --- a/drivers/gpio/gpio-mpc8xxx.c +++ b/drivers/gpio/gpio-mpc8xxx.c @@ -296,6 +296,7 @@ static const struct mpc8xxx_gpio_devtype mpc512x_gpio_devtype = { static const struct mpc8xxx_gpio_devtype ls1028a_gpio_devtype = { .gpio_dir_in_init = ls1028a_gpio_dir_in_init, + .irq_set_type = mpc8xxx_irq_set_type, }; static const struct mpc8xxx_gpio_devtype mpc5125_gpio_devtype = { -- 2.9.5