Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp457329lqd; Wed, 24 Apr 2024 07:28:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWQWESKfirnBlu1+5oeiK76Sb+3ssCVgXoC9QQtjQc2abHo6Ap2mY+RI5lRxOfsFv9NBQQ1qnhJRAvVJIqTBwKhkFmzZjt1y9+pwPVONw== X-Google-Smtp-Source: AGHT+IGJOJwsKtBzR4vidJRrgtXSyjwTLZpSUO2J2jHFVoTOvv8FnX3YWrsMUQfc5n/Qw86ta4ho X-Received: by 2002:a17:90a:c68c:b0:2a2:fec9:1bbd with SMTP id n12-20020a17090ac68c00b002a2fec91bbdmr7736421pjt.17.1713968917773; Wed, 24 Apr 2024 07:28:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713968917; cv=pass; d=google.com; s=arc-20160816; b=sbBAx+5gTRWTaxos1X2iOnFSsNC8+asOl7eWzXtb3CmHnhOvq3ZoFKn63o2WV+aLGM XLmsxh+GzMWgnpZtItpONlCLfGxvGktpmVY3n35CsIPUeiuSOzDeYEe0/NSH3B14dlg8 rbJBAX5Mmxno6BHBcCS2fr38DuEzK6s1CTEgMDBi/XRaiWFrqAf63N5slIyE70QPkgeJ kzF5SHbtTp0SbPG2xUaUbJxFzy+hWGiOw4Y2F20AnLwlnGfu7Q3FadsbRwmwq1wtsa85 x0bZ9HxomZvACDmXx4LxGDPVoxiiNfYrqi9843fv7rJCQ6CwefntV6FREjQz36MDBuCA MpHQ== 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=SnDO2gjpJUB+2XC9IrofwbWbPWI3kLTOyzm5wVHD3Z4=; fh=+j+ybleUctwb2k/XH6+ZlYuPyfDLT8FyexqtC926srI=; b=A/MW7+k1XCU8p0C3EXtfiGo0pxqyK/soQtQc26mQ2DtHX2JoFotk+kI1SPsqizkqzz 6nrRFqjxeiKVWddhvi/LICit9hjwohaMu/XARgVAZ6uwLsJxtJjy05bqiNP5x54RokK8 TY9uQ+Q0ORk+uqCFCJqOStVzhOi7pg2Nayu+TLLWh16PJ96AQcxAUzl12hxG0xqW1rPv uYHuvqgV7wjUZludPHl9337S1gzpSfah26CMGwvEliI30upKNp71Bf6cRxMCtNa7HPvz 3bFybzY5AkmNQRDxzDJV2TWgcFEwBSkmCqpE8PMLhXHmDSkgDYXF0LEXWRZ+505q2UBc dwEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YeqnRHdd; 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-bluetooth+bounces-4011-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4011-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id i24-20020a17090acf9800b002aba52938acsi11568059pju.9.2024.04.24.07.28.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 07:28:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4011-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YeqnRHdd; 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-bluetooth+bounces-4011-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4011-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 6FD47B29267 for ; Wed, 24 Apr 2024 14:08:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A68DD15E1E5; Wed, 24 Apr 2024 14:08:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YeqnRHdd" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) (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 8D78B15D5A9 for ; Wed, 24 Apr 2024 14:08:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713967723; cv=none; b=Z+sqO3BkxDGhIUH22yqmfmh7TSLg9yw7XtY1wAHTCALDSsy87rBryXE+7mHCGzWMyua6xVZVuPEM7kIVEIZQ62sOfTqvSCWuIQns5fJzmFKFvRLGytgvcBmfRMziVfWVZSwiYv7uAT9qwAjAu3pz6odg7gvZl1OSl/F2pAchVbs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713967723; c=relaxed/simple; bh=SnDO2gjpJUB+2XC9IrofwbWbPWI3kLTOyzm5wVHD3Z4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=A8r/cu7y5n1e9m43jz0ox/iGldq3/ratJU7Y9g9+2Py651VI1LDdie6cZm3+HeyjwqUNFAKRyoZp70Ag3rS2kvY64cfz0kTGX2T+noTCliYu072p2yUHmsiOI/19RKC800DBASE2nIQD53RLuNuUW+8uRi/mucVGAoQv11/Ug/w= 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=YeqnRHdd; arc=none smtp.client-ip=209.85.208.172 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-f172.google.com with SMTP id 38308e7fff4ca-2dd615b6c44so44828431fa.0 for ; Wed, 24 Apr 2024 07:08:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713967720; x=1714572520; 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=SnDO2gjpJUB+2XC9IrofwbWbPWI3kLTOyzm5wVHD3Z4=; b=YeqnRHdd6sSZVg2zB4+e/f5zaRE5FTGBYF5c8YD9ZcPTS2AgoI00sYs6377C7T0rJY sEllArwmOXv8U7JzKmFmbaAqLK6EQY3qBxF6UnbLrRS3vgYikN++Qwu3OdYj00loUgcg rB9ingxfHQDR6rLrtZKfocQKqBujO3aTDvnkXAckD0pePvwjLh+OpurRzFfuWhDH6lN5 BiOQcPWazQRegtxYnAQZFwWVPg6Dr9qHt71jIXtrS+iKHHMDuFNPSntvgqYniXh57cCH spvqKhwPOVG8ZR4O/Y9SWA6kky29tWJ0fxZ/Vusbp9SfMJ35PT0Ji9zrPJci4y/tPBd9 8YQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713967720; x=1714572520; 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=SnDO2gjpJUB+2XC9IrofwbWbPWI3kLTOyzm5wVHD3Z4=; b=Ke+D07sD/QHKo+KqC4MDiGcWWCfBusBDGlgOXD8utqJXJD5+dQ66PtIpK8GQgscVhS D/BBel6Nem33ZK5x2pXwByohNVcaDGSC1wJCx0bPgsH/+/3uT0KuyJ8loJIdGBn2ERMZ pdeg9A8M7fvucww9+9bdoTlRN/Vu/s9lLWgRDmyaYwO+P3nKeL2KUod8Ym6M5Y7UyMyU bw76t5G9xoDOSuSSAvXtaWuhvGoOZjkItDBoQhJJ9QxaKVwH4XfojWAF8AkRhgPdAFvd BMM5z+YeqwF460j25OYRyaEOMkKebyKIrBvUh5Go6M3MfMWm5er3zidyIYMHydhiROd/ TMXA== X-Forwarded-Encrypted: i=1; AJvYcCXMeu2nDGqYJ4Go5RRKc8m06KLUUy0XCCi8STYUJAu2h8c2lhL+icWUtnBiA7GV/EpUtrUPTwZAdBQyY8mzS31R8bxQk9wjZvvM4B/oHF+K X-Gm-Message-State: AOJu0YxNf1O0QiHNGPFWwAhRlKlGbTTVua/8UOfwB2tBu/eJG0c/7Mxx I5H1y891qY1i3Pqom/ef81dQHA4sOR/FIZt2Pc83XwFRlksCe1+JfSWX79KrBDzv9KYJIWUOEi/ U94bEJ0QHJ53kMGhGHf6raY1RBdA= X-Received: by 2002:a2e:84c9:0:b0:2d8:8232:8c6d with SMTP id q9-20020a2e84c9000000b002d882328c6dmr1640780ljh.52.1713967719358; Wed, 24 Apr 2024 07:08:39 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <1713919602-5812-1-git-send-email-quic_zijuhu@quicinc.com> <1713919602-5812-2-git-send-email-quic_zijuhu@quicinc.com> <349b27a5-d2d3-46f1-b002-44f81e0cedef@linaro.org> <8ae32009-5f5e-49a1-88a1-e330f0614f60@quicinc.com> <5e363318-c6e4-4874-8026-7940b434d583@linaro.org> <2020a858-c3d9-48a7-ad59-3691c6b98fb2@penguintechs.org> <38736db8-eec4-4ebd-b4c4-4b404cea6e42@quicinc.com> In-Reply-To: From: Luiz Augusto von Dentz Date: Wed, 24 Apr 2024 10:08:26 -0400 Message-ID: Subject: Re: [PATCH v6 1/2] Bluetooth: qca: Fix BT enable failure for QCA6390 To: Bartosz Golaszewski Cc: quic_zijuhu , Wren Turkal , Krzysztof Kozlowski , luiz.von.dentz@intel.com, marcel@holtmann.org, linux-bluetooth@vger.kernel.org, regressions@lists.linux.dev, kernel@quicinc.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Bartosz, On Wed, Apr 24, 2024 at 10:00=E2=80=AFAM Bartosz Golaszewski wrote: > > On Wed, 24 Apr 2024 at 15:53, quic_zijuhu wrote= : > > > > >>> > > >>> Please slow down here. Zijun's patch works and Bartosz's patch does= not. > > >>> I don't think Zijun means any ill intent. I am replying to Bartosz'= s > > >>> patch right now. > > >> > > >> Ok, that is great feedback, so I might be picking up the Zijun v7 se= t > > >> if we don't find any major problems with it. > > >> > > > > > > Luiz, > > > > > > Please consider my alternative[1] also tested by Wren. Zijun's usage > > > of GPIO API is wrong. > > > > > why is it wrong ? > > > > I have already told you that at least three times. But whatever, let > me repeat again: gpiod_get_optional() returns NULL if the given GPIO > is not assigned to the device in question OR a pointer to a valid GPIO > descriptor. Anything else returned by it is an error and the driver > must abort probe(). Ok, but there are other fixes on top of it: https://patchwork.kernel.org/project/bluetooth/patch/1713932807-19619-3-git= -send-email-quic_zijuhu@quicinc.com/ I guess that could go in but it would really help if you guys could work together so we don't have more competing solutions. > > Bart --=20 Luiz Augusto von Dentz