Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2258894lqt; Mon, 22 Apr 2024 06:15:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVEkVCXMnJeMga8gZWQtqAKDY0wGVUL9ZP1CcKRCjnuWepsJmbSJ5mPzBFYlSG0XKHuD3XLPFZSahsRB7CMjZMhLNqU0u8mMmVeOZBcnA== X-Google-Smtp-Source: AGHT+IFPaGrkg+My2FdBGXVV6tF/cAY7bSwbes3ZL8LSzFmRq1oLq2Ck/ZIaUAGRznAhadP1uW5d X-Received: by 2002:a17:90a:5512:b0:2a4:79ef:4973 with SMTP id b18-20020a17090a551200b002a479ef4973mr18455918pji.14.1713791731812; Mon, 22 Apr 2024 06:15:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713791731; cv=pass; d=google.com; s=arc-20160816; b=zC0aQbQ35i5XAXg35GGZds+CKhB0XLcnhCeYKyBwpqY+wmmFnpR+uAQgixZnNFWmSb XUHoQpM4zqqtH2Dtmz7kA+gCCKNZYfu7MwlPdVR2YS1BcthSVj1ytHNwXrbk/tI4Cdls mYBnf7nBQgMqCiaUlmUrR+djgVgJWqrf2TvOH1B5ygYjUmIhWrzrBbcmT1bSBbUsu8MA HOAsPjgAaOLl1benxSOUnCSLJSxg190wgmVIEIhw2erUTCd2UTUGgNtF3NDFay8iTSlr rkKMd9T88YhSJ2W7DjqFv/R8C9O/xZKXtLguHeZcCnvNbyzpgCvMqGsf9SQypmdYMWir 9NoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=+Cq4aokMbWo87EMNuSZpHsDDMzRKgaUub2cLGzrZNZ8=; fh=q0AZNZBz+xtkGHLvjZoU69ux3eLTUAyjgEFAq81vXP8=; b=ownmtosGaVPL+PR4VTh0nzCiKzDIcCmlkNL7PjHhdNPQa4XfSPiQTbiHp1ttUjU0Bu ZgBh6NvMWaAQioq4LwsstSfGRAqHXLrTSF5fgLlejFfRR8PRbLwgls5R7nvyeOZWy5sB 6qBfl31FsgquwbxYwoG9qzQTGQCRkxYypX8klYzjxfOMnM57hcoE7BWDl5HPJ3bATCeU IE9R+Og1adT4ncP7G9NsVYajPHBM9CMUsLUV5V+6RPkDq4nZll1pAZ5vsMgDhunYX1DQ iE7ZvyJoYZxD9ROHSMKLelkdlMncs68+oVTRKVEWYMyTNGs4yh3fc49et3LkGjQVM4ta 8niQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OaCydT8y; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-bluetooth+bounces-3858-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3858-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id h16-20020a17090acf1000b002ad5d4197ecsi2841547pju.1.2024.04.22.06.15.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 06:15:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-3858-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OaCydT8y; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-bluetooth+bounces-3858-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3858-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4A718B23D49 for ; Mon, 22 Apr 2024 13:03:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 816B014E2FC; Mon, 22 Apr 2024 13:02:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="OaCydT8y" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com [209.85.128.173]) (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 F346314A0AC for ; Mon, 22 Apr 2024 13:02:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713790972; cv=none; b=Z8Q4JNVujaQxBiblyoArE1ykr9Y+0MxDkOApdKI2iHPHIRCVuK8sj6ykl6JnBnK/L5BaeheK3uLXiN8JoDlvHL+aKZPhom+/k4KKeW5buvCIZR1hV5a69oJ7duOn2279OMzakbKeo0hjT+AxJTDm2m27pDEkeBkCYBhGbLe4cVk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713790972; c=relaxed/simple; bh=+Cq4aokMbWo87EMNuSZpHsDDMzRKgaUub2cLGzrZNZ8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=csLXEk22U3XkhS5AILrDmome0LIDXOGgMyyhI78ixPj3BhTFKQqHU2vi3nPeFtdVVw/aURE4v7B1maXSBUeS1A6JLNgZ4dMXht4ZFzb23AGwbMpjQIt39oOp23nJfSemygZoCcwUAjKBF5WNLZssiAqYia0lQbFke0r8Bnks4N4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=OaCydT8y; arc=none smtp.client-ip=209.85.128.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-61ac183ee82so43860267b3.1 for ; Mon, 22 Apr 2024 06:02:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713790968; x=1714395768; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+Cq4aokMbWo87EMNuSZpHsDDMzRKgaUub2cLGzrZNZ8=; b=OaCydT8y3xYyejJrQ4QW2Ov05xsZves46V0IvLdhs6QZzPAqKeMWzjcvs7hSoD4hiA tDnwDymEuZR4yCrqvKWLmikZN7cJN+0LVbreSUUkshc6slvnFHx9ORjFaoDkhUZulemg u2mZLNBqeYD9TArqE6cRCqow9XS7Cfny/5o7QfAX1QQ6erWlaL7GxgkCjaZrom10y8CB gxld2QFo0e12JyC20rjnHANufWUyqkRaskG/OnrtM2VBLZDprfMm1wwIrhAhbG4gSQe8 SvsCbQglnTu5T+XMz43WModRhZ708vPTTR6mebPerXNbkxtPrCyO99r3dno8F9bL1+IU zXAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713790968; x=1714395768; h=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=+Cq4aokMbWo87EMNuSZpHsDDMzRKgaUub2cLGzrZNZ8=; b=PBX9s3v4M1VZL+nmI0LrACM8QpgjIFZ3zvSzWWDlcwv1RgglqwlbbwfIJLgTfizrTe 0oOaAH4ayjHZTuvaqB5c67rtP4cNz3v8USjB5exhGz+vKqTmodYIJBOLtl89+eSyj0cB l4TatXjxppTtkj4zXX0nHS9FFQmc9XHIrrXkiegzEU7yMomro0dDG59MUOPPHPJzksCV qA7aUzo0icMG3+KcKHN2TrsOKfoSn5coQmzjEmZ4ICxQBekqZGRZp9SwXR04upMR7uPJ Ueftvki9s2BwBv/kQBJBO8GNHQ/1If9PYKnmhA/KRDyoBluRAoUunN3s8qGQ5olrB/E8 olPw== X-Forwarded-Encrypted: i=1; AJvYcCVLZU30q/YszDKQOwfhHjttfjeX6E+71k4N/JVLxheUjeEGn0efxg4UJbXyX8oyUpu5Qc5dLQdO32HtL2AKDhVY0A1W0FcGgKby6qvqlS+w X-Gm-Message-State: AOJu0YwxVH3mmusD148m3MEvcLPjgpUbzuacGaZHDZxuztXP0HipKBUV u9Igcr8HlMlfj2EENj+eTZVEFW/u3Gs4opzV9D1EYH+TFDEAVzOOtb8qGfTJhUEGAs+CoSpuU6w nczLfn9lPNfaxwG323kRMiAL7oGpwnUB/Cs0UyA== X-Received: by 2002:a25:8051:0:b0:dc6:f0ac:6b53 with SMTP id a17-20020a258051000000b00dc6f0ac6b53mr8238555ybn.15.1713790968038; Mon, 22 Apr 2024 06:02:48 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <1713564212-21725-1-git-send-email-quic_zijuhu@quicinc.com> <1713650800-29741-1-git-send-email-quic_zijuhu@quicinc.com> <369512e2-f091-4370-bce5-9ac32178dc4d@penguintechs.org> <5da9ecae-35c7-4968-9f16-3f10e04c2b1a@penguintechs.org> In-Reply-To: <5da9ecae-35c7-4968-9f16-3f10e04c2b1a@penguintechs.org> From: Bartosz Golaszewski Date: Mon, 22 Apr 2024 15:02:37 +0200 Message-ID: Subject: Re: [PATCH v4 0/2] Fix two regression issues for QCA controllers To: Wren Turkal Cc: quic_zijuhu , Krzysztof Kozlowski , luiz.dentz@gmail.com, luiz.von.dentz@intel.com, marcel@holtmann.org, linux-bluetooth@vger.kernel.org, regressions@lists.linux.dev Content-Type: text/plain; charset="UTF-8" On Mon, 22 Apr 2024 at 12:42, Wren Turkal wrote: > > On 4/22/24 1:51 AM, Bartosz Golaszewski wrote: > > > > This all sounds plausible. However just reverting this patch is a > > waste of time as checking IS_ERR_OR_NULL() on the return value of > > gpiod_get_optional() and continuing on error is wrong as I explained > > several times under Ziju's emails already. I provided a suggestion: > > bail out on error returned from gpiod_get_optional() even if the > > driver could technically continue in some cases. I don't want to have > > to argue this anymore. > > I'm not trying to argue. I am trying to find a path forward as a > concerned user. I am also trying to figure out if there is any way I can > help resolve this. I am not a kernel developer, but I would really like > to contribute in some way, if possible. > Can you test the patch[1] I just sent? Bart [1] https://lore.kernel.org/linux-bluetooth/20240422130036.31856-1-brgl@bgdev.pl/