Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9752346pxu; Tue, 29 Dec 2020 04:15:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGPpSV0JV+2i7gCYeuaolw8RWcRe06Tf7Fm9pJdnO7svVIwWtQraghTB87VtRm65JJ59u/ X-Received: by 2002:a05:6402:22b4:: with SMTP id cx20mr45906884edb.262.1609244118469; Tue, 29 Dec 2020 04:15:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609244118; cv=none; d=google.com; s=arc-20160816; b=AiBETeiSmDPL4x1hywWiMYTKLOMsGGRovj0hax9qjIAPvcK80qsWCsMkHudoYaOhT2 +gb3zvwgf70EttHoj80iqQ4k5dGdeaVBb+FEc4oy0ryXe+1vz6MbAz8IGKVShggDyNgU DuflygZwNRznQxx+6WZXAQrauTjfXb61Jgf348YgTbXHLMCHF2MyIgkvWkVOYcGEHjeq Q79cy1PlHZN2s6qi8nDOsNIHhQQ9pIDstaZgi+sZmUnvwlw13zEgr0gSvacfWM6lDJIq ufX3ikrXCC3Arm07VtBsA4EfkoGK8kTf0U6dit5JqGczgSmYKsXi65ESUbYDnotwxxcO /+Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=XzSzeiMkz3xC8gN0V+6Id8JeJE8RFvkW97wanhq9H0s=; b=rWDPRlj/5bPLvagMQPavEZjH6hA5/MdyUSAIMoVU0np9IzCsT1P39sWaNKbP31pVP3 JYhPwqcaZFJ0NeTi1v0E+3Z2nPdjp7B/sRDGzNbWvRLvLQoVkcXbwlpSG/LTgdkPPU7A iAF6FKXHY6yHu2XGUjKzRKO5+GGRLTPalWb+A3Tcq3ruPOMluurxPJK6o6HdmUr/pYAU 6TTNtj/gIAsELb8iwEUpMqh506VgN+RJ0qDbCFsOdeJutH+pGPG79wK/u7wAxsPL9b6N 3V6auMor+aKgDE2D3Lgif6ENCj6PVNHSzHAZZ7LK2qFjt6XOzq/Tw7LBxIAjMBkBRZTs oZDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=kTXwCz3w; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si19926007ejc.177.2020.12.29.04.14.56; Tue, 29 Dec 2020 04:15:18 -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=@cirrus.com header.s=PODMain02222019 header.b=kTXwCz3w; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726274AbgL2MNL (ORCPT + 99 others); Tue, 29 Dec 2020 07:13:11 -0500 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:50842 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726148AbgL2MNK (ORCPT ); Tue, 29 Dec 2020 07:13:10 -0500 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 0BTC65vq003360; Tue, 29 Dec 2020 06:12:19 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=PODMain02222019; bh=XzSzeiMkz3xC8gN0V+6Id8JeJE8RFvkW97wanhq9H0s=; b=kTXwCz3wKD6hweKav7qzEV3dJ83/ZpHzh1k8JgafNAd6lQOAXYBp/xpcV0sDMFwM6qyd 4JlB75Gm4Tm4u6MMrzO9DAwQed+scbuyguw7x6EKfqn4C2Dsb7oMjhARe28cTC4qztxt QsGYZ2wy7kbNoHk1ekPfGWc/AcGjV0LxtjSxmfIL19Md/sCP4UJ9DweY18erPkVQGugo 58vGS/kXXx0WuwEvGWk3GWOm4yTAbZ/egEfVxzZvGGXRs+41p037lN2fpeH5RoUy+1vf 1rhutGFp/JwXe0JdYkSF6S5aNYghGd4sPqX4wKA04jS7R0203ekgmPQYwcxa7TDGatiQ UA== Received: from ediex01.ad.cirrus.com ([87.246.76.36]) by mx0a-001ae601.pphosted.com with ESMTP id 35p3f7a8xn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 29 Dec 2020 06:12:19 -0600 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Tue, 29 Dec 2020 12:12:17 +0000 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.1913.5 via Frontend Transport; Tue, 29 Dec 2020 12:12:17 +0000 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 0743111CB; Tue, 29 Dec 2020 12:12:17 +0000 (UTC) Date: Tue, 29 Dec 2020 12:12:17 +0000 From: Charles Keepax To: Hans de Goede CC: Lee Jones , MyungJoo Ham , Chanwoo Choi , Cezary Rojewski , Pierre-Louis Bossart , Liam Girdwood , Jie Yang , Mark Brown , , , Subject: Re: [PATCH 08/14] extcon: arizona: Fix flags parameter to the gpiod_get("wlf,micd-pol") call Message-ID: <20201229121217.GL9673@ediswmail.ad.cirrus.com> References: <20201227211232.117801-1-hdegoede@redhat.com> <20201227211232.117801-9-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20201227211232.117801-9-hdegoede@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 mlxscore=0 spamscore=0 priorityscore=1501 adultscore=0 phishscore=0 clxscore=1015 impostorscore=0 bulkscore=0 malwarescore=0 suspectscore=0 mlxlogscore=648 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012290077 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 27, 2020 at 10:12:26PM +0100, Hans de Goede wrote: > The initial value of the GPIO should match the info->micd_modes[0].gpio > value. arizona_extcon_probe() already stores the necessary flag in a > mode variable, but instead of passing mode as flags to the gpiod_get() > it was using a hardcoded GPIOD_OUT_LOW. > > Signed-off-by: Hans de Goede > --- Acked-by: Charles Keepax Thanks, Charles