Received: by 2002:ab2:1c04:0:b0:1f7:53ba:1ebe with SMTP id f4csp39280lqg; Fri, 26 Apr 2024 08:13:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVlQnVvtvhGCUaZf+wZxuShBsk+xlErpntlKW4Q/IyB0AdPalWNYvSL4X12yxlAFfFxE3UqNkQSZZAFKBW3tDZ1m0fKPb8ykQB7pMoZqg== X-Google-Smtp-Source: AGHT+IEfnmwDVhvRgEiehw7ojbgi6HYWgExyVfQAPHdwvyXkYQLqOlfLKXXKKdnzHMufeRrPpTkq X-Received: by 2002:a05:622a:24a:b0:43a:2b05:b55b with SMTP id c10-20020a05622a024a00b0043a2b05b55bmr3653985qtx.47.1714144382922; Fri, 26 Apr 2024 08:13:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714144382; cv=pass; d=google.com; s=arc-20160816; b=MLKUxf1jeeNH3W6q/r2k3TuKglJlQHR3leoXBWd3nYHhC5xWk6oUJ39fZNZsHsSe+i 6aSLqlJWjzwuxvXfgM+2b7i1p6o6XVnK4saJwubCGtjLqPxOVvanWVmRdw3o/FeVKcgx L13PeKmfyqG4orwuWQKiMrvLgAjIIfbm4UxpfLTPARhCwymq2UmeJ+0f0agLkQElJUCs CP+T7eNqjC6GoxozKDkQvhfvtEn8L2eH0DrZRCb1PHhK60bEDb2ZU7lZh/ZcQyD90jJf O/RveUeBOQhCljMvFnv/uoqBMgBjSpYjt8LO23EdEwQWRFc5CkfJ1gouo+RTRq9TCdgz DYvg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=QM5g5oluFXmlj44Ib9JNWX1cNnZgigxMRLezmSbkjDU=; fh=QRxtddi92r94VIu3qpFZ4gfO1EBx47FUkFxQD5UJRr4=; b=nNqkdZR/lXS1DkM6Zz/oUYHCzi3cnl5ZQ7HeaYXTgFQq/gup0A4ADlihMAnjTK0HSu NLjLwk5W2EFyQn17QKr89KZc8qcPYBczMqpHNYmHgIIczoc7A4X4YBDN9zVWocv76WEq Q9h66mVDLl5wOcc3eH1sZVv7FBX6JqoQmLNUzsnWT7LoZlr52meSxw8ax0G+DG8Um9LZ uw1exIc4/x9n2li81WZyVs8Kvu6gkewmcAJs6jIyTvivPqViDa1QdGShm8MgnnB6+G+P yAavj6urYdoxGKrAg0OOFsHy4VI4Ab7cTK06ox6ID+ar8BhkC/gGmrV8Xw2dl4oMbwkP l96w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=V0PQW8Kz; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-160232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y8-20020ac85f48000000b00434e7ea018csi21015282qta.261.2024.04.26.08.13.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 08:13:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=V0PQW8Kz; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-160232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 305011C23046 for ; Fri, 26 Apr 2024 15:12:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E04916133F; Fri, 26 Apr 2024 15:10:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="V0PQW8Kz" Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96DBB14901E; Fri, 26 Apr 2024 15:09:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714144199; cv=none; b=E+TNw3iSSHsnDmPNiNeiGNyVrKqc5g3bY3Z2Ijras2Vqr6Kf0uBsLIOrK/7VDWvadBbmiorTcQxY3aqsAixK+trkVK0kRWBzP4BSXuLTJbm3VLClo5GQKD6jHvCTT0d0M8vWbnTGBMZtc6tY6ufezCTVk36VXvzKCTmLRPqwBK0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714144199; c=relaxed/simple; bh=xAg1rEdSJo2cPRDE/hmbrMFOFTdNt/KfxhhHxARRQXE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=m27ajSenVRLeMUGqi7zFdFqbG6IuGdmpLh25NWAWtn1xXV+sTpuV/RMdB2O47Ts9Icy1qT+bjAjad2SRNlj6TtS9W2n4uXAkgxQ030nTRRM3jbV++Xkzb9bzma+9BSzRJjY165wq7lrtR0wV/XxkOjFUaO02qPw7Xhe8tFpJB74= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=V0PQW8Kz; arc=none smtp.client-ip=209.85.208.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2db7c6b5598so28085961fa.1; Fri, 26 Apr 2024 08:09:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714144196; x=1714748996; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QM5g5oluFXmlj44Ib9JNWX1cNnZgigxMRLezmSbkjDU=; b=V0PQW8KzuH3bhahxtIJpqGgqKFxTf2LLGDy82CcnHFNm6wgI/NHCh6TY+4vH0+A6NC 8t3MbBJl2bHZJIGewqO2VxbeuCoVg5FGdO/MT+DRN1R22qjE7lJ69EH9L1yv4Qy2+aOo I5a96emB2Fl2Akq6kJkXLp/JCH8AEvMZMPFd3KZtsJKti7+28KKUZbhv9S75BRrlXXji RnCtQchVdjhRs8HYZImMLwFNWWIec1dfI2LejMlZ2YKkHj8IVcqc3cgJ/JAhLC2VTLT4 lykmqgvIAchF0d9yRzoVcDEw/Hpwx1ZzPUuSctbpcFAQxzi69EISAj45y1JzI0e805nM uc+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714144196; x=1714748996; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QM5g5oluFXmlj44Ib9JNWX1cNnZgigxMRLezmSbkjDU=; b=JQXm571hLnwHCGN0fjdMGinCKMYKn+RVoy9AcqL7yCtCqIllMI7BTtDQ9W2oJGsTXl yFkD0pd4/cC4uREvm18lcpqiscjzYATdRpUxTdgOSkNC9xb2uH3/ejSY/EznINFUmXHV 02uyCjYmb1JbPx5npVrJT7U5Z5ZqCPiQj/6Ow2yFwlU/tKAJ7bYfyNUUGNeNVN+p5+De YFGjljykCD7FfkBX0lrLriGQO7zqZTK7NdeBl8oqxgAvvcB3FEDw3RIh4SYcv8NjpZEd 19fOTbLl7SyW6LxunO35Sn5RPlqAStOIrI/hntK1D4Ha6c4Cj0q5OdYHMdqdH36k048H FZLA== X-Forwarded-Encrypted: i=1; AJvYcCWgBlkLKwHKsFc+zDp6YtKEhUyUiDQHL+3/WDK+TbusxLQTnhAJS/9xwXjawBl/JGyelPnTX6mCDeZGzJvXMssz+V7mXbCCVo5Gl9k7GenQsM0SFMwe8d0AofvoZx/nXZt2IUknWkX7t6nRViRJ X-Gm-Message-State: AOJu0YzbUcHZ7lJNKFgsZy6erjbpiw1qLMA6/xvx6kQ2/xpk26LvjGfw cIyp+gNzXKB0upyXzCyL7B8831ZjLTF3r2G8T4UH97uzmVeRVG/bNp87S1BjAJbYZP70T1/5GIO EpEqP252UKdleiaB+LXlZprKpIHg= X-Received: by 2002:a2e:9684:0:b0:2d6:d351:78ae with SMTP id q4-20020a2e9684000000b002d6d35178aemr58304lji.29.1714144195629; Fri, 26 Apr 2024 08:09:55 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240424122932.79120-1-brgl@bgdev.pl> <171397322792.12898.8815870206676100532.git-patchwork-notify@kernel.org> In-Reply-To: From: Luiz Augusto von Dentz Date: Fri, 26 Apr 2024 11:09:42 -0400 Message-ID: Subject: Re: [PATCH v2] Bluetooth: qca: set power_ctrl_enabled on NULL returned by gpiod_get_optional() To: Bartosz Golaszewski Cc: marcel@holtmann.org, 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Bartosz, On Fri, Apr 26, 2024 at 10:37=E2=80=AFAM Bartosz Golaszewski wrote: > > On Wed, 24 Apr 2024 17:40:27 +0200, patchwork-bot+bluetooth@kernel.org sa= id: > > 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_q= ca: > >> 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 error= s. > >> 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 gpi= od_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 > > > > > > > > Luiz, > > I think patchwork borked when picking up this one, here's what the commit > trailer looks like in next: > > Reported-by: Wren Turkal > Reported-by: Zijun Hu > Closes: https://lore.kernel.org/linux-bluetooth/1713449192-25926-2-gi= t-send-email-quic_zijuhu@quicinc.com/ > Fixes: 56d074d26c58 ("Bluetooth: hci_qca: don't use > IS_ERR_OR_NULL() with gpiod_get_optional()") > Reviewed-by: Krzysztof Kozlowski > Signed-off-by: Bartosz Golaszewski > Tested-by: Wren Turkal" > Reported-by: Wren Turkal > Reported-by: Zijun Hu > Reviewed-by: Krzysztof Kozlowski > Reviewed-by: Krzysztof Kozlowski > Signed-off-by: Luiz Augusto von Dentz > > Reported-by and Reviewed-by tags are duplicated. One of the RB tags is mi= ssing > a space. Oh crap, should probably not trust patchwork would pick up the tags properly, that said the pull-request was already merged, not sure if we can do something about it now? --=20 Luiz Augusto von Dentz