Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp933801rdb; Sun, 1 Oct 2023 11:39:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGgAIFYUI1ZqHC7Wzfe5Dt76UoQjMpfLRcsofz2VNy1OHLoe2Io0vp4S4w0cs7t2n3tHU2N X-Received: by 2002:a17:902:9f8e:b0:1c5:ad14:907a with SMTP id g14-20020a1709029f8e00b001c5ad14907amr7951535plq.38.1696185585760; Sun, 01 Oct 2023 11:39:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696185585; cv=none; d=google.com; s=arc-20160816; b=wEMNLElRcmCoG0v//n5Sb4pPuCpLlH7NG3P7sdtRT+tGwSj/VvPhWHQ+/4wBPL1kws 90xt5WCpCwl0Q51VbnoDcbsa4kcvbZ+fptz+lt7hOk4oy6koStQ5lDanPKqg0BcU242h 1tXZchlA72Yeowl2Q9iqJXdS0TyVXCEG5h/RIFmhNEYouLudlC5x9g+3Rjtyn3g7vb9I 49/0xv13WXt9HSvdkeHVRYgIxBMFdBcqyf8gheFan99jm5KXvN2CFRTstI0rGYc9gJSc m+Y6Dp7vbxnUcnJUVSyfLmjUb1BJenXz7n9sfWubi4H0GEtbtUa6wfVdc4HEDMapIxRg 35Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=VCbRcWKgZlbUI99COJ9aYcpS5OMAUnSz0kjwJakQr8Q=; fh=mmxlGAVJNew+MBZqfFA8+dlfC/a9V2qKBS0RrqLHRpk=; b=u5SE16H+Btd0iXj+uF5Rarf5HYg+4/gYpgmKiGrb41KeVfRDvO7vdgeqvuLx2/p0M6 DJ76RDxC9wmuhFEaWkWyimFj6UdAX1+LT1vFSJPVL5Z4eEkJ8WxoDdo1GojKXZTk7A/8 PNzj3e2JMXGhcEjzI1ST0EIqoiq/6PbiG3c2N8LlWZyWhGr36JEdlLxLnEVcyTemgE6s g+4myjucpGtUCC/AxevQ/dxvNJ4VjlP42pdDPHI4FGLu8oiBG2/m713RIKB2cSoa/xXP 6WkKUOqrgUBCxxAV2j43BM02SH4iWK+sQRCB1oZXZ+ectjZzn2fk8Ry0x5vrBAZsVcqf QO5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id q18-20020a170902dad200b001b80de4d3f7si18119240plx.558.2023.10.01.11.39.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 11:39:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B91D7801D1FA; Sun, 1 Oct 2023 11:39:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235299AbjJASjR (ORCPT + 99 others); Sun, 1 Oct 2023 14:39:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbjJASjQ (ORCPT ); Sun, 1 Oct 2023 14:39:16 -0400 Received: from mx.skole.hr (mx1.hosting.skole.hr [161.53.165.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F7F7C6; Sun, 1 Oct 2023 11:39:12 -0700 (PDT) Received: from mx1.hosting.skole.hr (localhost.localdomain [127.0.0.1]) by mx.skole.hr (mx.skole.hr) with ESMTP id 8CA7D836E7; Sun, 1 Oct 2023 20:39:09 +0200 (CEST) Message-ID: <8c101322-085b-451c-90b6-90d2799ef192@skole.hr> Date: Sun, 1 Oct 2023 20:39:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC v4 1/6] ARM: pxa: Convert Spitz OHCI to GPIO descriptors Content-Language: en-US To: Andy Shevchenko Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Russell King , Alan Stern , Greg Kroah-Hartman , Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Dmitry Torokhov , Mark Brown , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-gpio@vger.kernel.org, linux-input@vger.kernel.org, linux-spi@vger.kernel.org References: <20231001-pxa-gpio-v4-0-0f3b975e6ed5@skole.hr> <20231001-pxa-gpio-v4-1-0f3b975e6ed5@skole.hr> From: =?UTF-8?Q?Duje_Mihanovi=C4=87?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 01 Oct 2023 11:39:43 -0700 (PDT) On 10/1/2023 4:32 PM, Andy Shevchenko wrote: >> + pxa_ohci->usb_host = gpiod_get_optional(&pdev->dev, "usb-host", GPIOD_OUT_LOW); >> + if (IS_ERR(pxa_ohci->usb_host)) >> + dev_warn(&pdev->dev, "failed to get USB host GPIO with %pe\n", >> + pxa_ohci->usb_host); > > Since you are using _optional() API, you need to bail out on the error > case and replace dev_warn() by dev_err(). I guess I already commented > on this. What is the rationale to not follow my comment? I must have missed it, sorry about that. I'll be sure to do so in v5. Regards, Duje