Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp508607lqd; Wed, 24 Apr 2024 08:45:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXOQe7AHo5kiokB8j2zUUJVWX6JV5LYUNQiVBOH7JwnvmcNXRUrtc/DPV0V5gkfY82rF5TYR1wBfAA0iD2UFEkMOtQY8WYesJM/moiSog== X-Google-Smtp-Source: AGHT+IFr9zwRLQy6kZhFDeCzRNr5iTbxnHt5d3J12os7KoXxEr/Rsf8/jXB/itXftBO2qk5rcc47 X-Received: by 2002:a17:906:7181:b0:a52:65bd:a19a with SMTP id h1-20020a170906718100b00a5265bda19amr1726720ejk.57.1713973523310; Wed, 24 Apr 2024 08:45:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713973523; cv=pass; d=google.com; s=arc-20160816; b=UZltUSmluY/eeNsC2Q5Co/ABg6O0PVj5djYAWes043RqMCgfHapPfYnSyrKQNPCfqV HMrkYbZ+kmvfyiJiIU43QPpAXbrMEmAa8FZM97PZxcalfIcGthra9FcUYgFB8xPp6yCN topM6hx0HjXU3tk1C/kym+gs2Sa9Iy3n8UtzhKj8syNv/MW7iqKfM+87F9QG9g4efzah s8PDZiaZB7DfL5s8daS7BBcx8Wr94uQQgJtFKCC9pqsVz18TciNNT93g5dJt1S9Ovf43 QZw+fHv4tk5dbERIlx6+NZqwvMNaMUs9q3lYQAsAflQrsgWT8Ynt1VtAVEuTZVbdr/FK IC6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=x5zfjxB4fzDm+m2HiKOta4lj3j846Fe+17X7Nn/dnsQ=; fh=9CwJP3FwymPxJkIS0H1LlXnI7fcq9zqZ7BytcxoN3A0=; b=Aujzb6RkFDxIF7K6uV6dbtnz13Msa60aypEKjQD8Wy0E8h/xpUc4bs9+FRuU6D8iEq 7uBEGM+yJLISU1pNfe3Dggo/MbDDGy574CBGJVnk/TvIHYaLUdqjRAEyGvuKVPNEcptb diKv40ZdE70LfQaqpKqLs+DdwndM3cK0VExpY3KPzbzxCWNHzPBBMPZ8jDAfgAJ/+ZQ9 TsZpx/B91uPVFkEsBhIGthcDVFLr4+R3LfqFKa7dBNbV6UFR+0mMvazgdUcXGal6Odz5 trK7RyGHeHkZx7ityu/+0rSN6ea1+pI8VWgyGN+dMYfESsv2MYTv9LZdd4rbiYEsD4Xj B4vg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qaUzYRic; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-4035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hg17-20020a170906f35100b00a523be5894fsi8443130ejb.603.2024.04.24.08.45.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 08:45:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qaUzYRic; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-4035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3A11E1F2927E for ; Wed, 24 Apr 2024 15:43:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 119B816D303; Wed, 24 Apr 2024 15:40:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qaUzYRic" X-Original-To: linux-bluetooth@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E4591422AF; Wed, 24 Apr 2024 15:40:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713973228; cv=none; b=iuAKK+yOdxBHxkGZiufmoXs+rbUyPUXgntgpEWH+sDCuJV1NG+aAhrzXK5Vbrt/Fs6p6sxyoaGeklASHN6Gwex8/dNDUVkU3/bysOUfq7pbK7V7JaI5STFxwsD4JDXsluozOmmY67niZkF7tRACWIsKclkjfE20QnMqq0oO4dco= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713973228; c=relaxed/simple; bh=tSF+fXC/5UoyBir7NlJl0L6xjWjymwNzHWTY9j9wrms=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=SgTDs3AvZEAejuaIq72jjYw62P7hZ7mLoaYdkM4qSbo4nK/u6LBGKFfrsGemv7yhO6IXXOYTtJkAm2/rR2ys6iGXxkdyLb/7hmOLEuhbKn0ioAAHYanweNyfIUUGxBlHWbmmL3hJzz+2lSgVJmUaMZyR2IAxkHUdzqGOgr3D5rM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qaUzYRic; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 080BCC2BD10; Wed, 24 Apr 2024 15:40:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713973228; bh=tSF+fXC/5UoyBir7NlJl0L6xjWjymwNzHWTY9j9wrms=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=qaUzYRicrYGQY4oIzj5ut5+FLbcXi10VFRvov5hu/rlgbDJvtkoI7tv7uENqnldmO p7QKCh0inAxncxd9/q2goFNGTpkE0zjYUTXlOHPtHz/8Ip5DuUjO5ye+SM/pMLe1pD U+PqZgTP/X08KfomjiDjpWqgmpvmYhAsZvjbgK9HsJSGaof4X+Q7Jl7zdUBWBi3uF+ 6CkZkL2R9O87yu38m+aRPORfD/q0lOfOUU6lqH6JqVkuJ2wlRz8m4mqV6ALTYGkHhw PvauqujeE86AoaIO0/vG2NKrPTUi57V4bqXDQnmOfhxEHXA4CoQ40bg5OPS44Y8MBu ZqIffjMzDGvMQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id E32D5C595CE; Wed, 24 Apr 2024 15:40:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] Bluetooth: qca: set power_ctrl_enabled on NULL returned by gpiod_get_optional() From: patchwork-bot+bluetooth@kernel.org Message-Id: <171397322792.12898.8815870206676100532.git-patchwork-notify@kernel.org> Date: Wed, 24 Apr 2024 15:40:27 +0000 References: <20240424122932.79120-1-brgl@bgdev.pl> In-Reply-To: <20240424122932.79120-1-brgl@bgdev.pl> To: Bartosz Golaszewski Cc: marcel@holtmann.org, luiz.dentz@gmail.com, krzysztof.kozlowski@linaro.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, bartosz.golaszewski@linaro.org, wt@penguintechs.org, quic_zijuhu@quicinc.com Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Wed, 24 Apr 2024 14:29:32 +0200 you wrote: > From: Bartosz Golaszewski > > Any return value from gpiod_get_optional() other than a pointer to a > GPIO descriptor or a NULL-pointer is an error and the driver should > abort probing. That being said: commit 56d074d26c58 ("Bluetooth: hci_qca: > don't use IS_ERR_OR_NULL() with gpiod_get_optional()") no longer sets > power_ctrl_enabled on NULL-pointer returned by > devm_gpiod_get_optional(). Restore this behavior but bail-out on errors. > While at it: also bail-out on error returned when trying to get the > "swctrl" GPIO. > > [...] Here is the summary with links: - [v2] Bluetooth: qca: set power_ctrl_enabled on NULL returned by gpiod_get_optional() https://git.kernel.org/bluetooth/bluetooth-next/c/48a9e64a533b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html