Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1365646pxf; Fri, 9 Apr 2021 06:46:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVGqMv67ywsPYrOBRBdrF2/qodc3dWOuRuJ7GIewyQ1VTyowIlfRYsYcBJr6NGBmlseugU X-Received: by 2002:aa7:c950:: with SMTP id h16mr17489548edt.381.1617975989917; Fri, 09 Apr 2021 06:46:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617975989; cv=none; d=google.com; s=arc-20160816; b=T+TAhbXxHku791tzFN54S46SaqUzG3ROtEZz9sxEyN+Ml55FWoqO+hIxXtuAQMyePx vefftVfJKbAf1A4BoZHDeHWmx1vjBeY+rJzEpG1JGvDqEWLx+koRobR9Fxo5TUypfOLx +XNV+ltBkQ6DiIOiGPs68uH8iB+na01WmNnNF2aY62Cg/nagNDgUxmJxCjY0QZqQsQAm xVM266PkAXhnTys12N7ucauuOZE9kjs8DYjBels4WmuacosnM6mWikNPQuZqNS89dqw6 gMT5fPnQ85k9lqeSAZHvGVyHzNbfpeFVS8Qhb+cxeSWkzW6oAwSQnjoIMuFM9ANhW8WW NbZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=pHHk5LVHxwiz+exyPDLt/YbyZ4VvuNNkzdHQfJ8D9JY=; b=tqQKwjUgNIZmZ4GmhfUJLYF4KdpNF2k7y2DRhxY8vwcgW9tT424pCvZ5IKMB0cXeRe FdfB2M1bANJUERMJDpWRvHHCqFbkM3BKgWgKW1yR7aYioLMTnO731f6Kb2ruT5obUsFo w804GLBB3z0Shl/NWCCpPqarPUDrAeJ1tNSuEjyFtbP/vG+Ypd57ZjN1IuLZhsC3vq9S Qk3OihalxpXXC2Mppb2MWzFlAuSMw8arWpGaMRwyTSeYZr657GVI5qUAYXFjaMaDctk2 qu3RqRze59Xt6Zflbkuxkr+okFXWtfUaQ5iGaeBBj+KufgrZRa3VQUDIxLwuC0fvjC+a vqQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id se21si603439ejb.176.2021.04.09.06.46.06; Fri, 09 Apr 2021 06:46:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231599AbhDINp0 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 9 Apr 2021 09:45:26 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:46857 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231946AbhDINp0 (ORCPT ); Fri, 9 Apr 2021 09:45:26 -0400 Received: from marcel-macbook.holtmann.net (p5b3d235a.dip0.t-ipconnect.de [91.61.35.90]) by mail.holtmann.org (Postfix) with ESMTPSA id 57B1FCECC3; Fri, 9 Apr 2021 15:52:56 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: [PATCH 5.12 regression fix resend 1/1] Bluetooth: btusb: Revert Fix the autosuspend enable and disable From: Marcel Holtmann In-Reply-To: <20210405203533.17091-2-hdegoede@redhat.com> Date: Fri, 9 Apr 2021 15:45:12 +0200 Cc: Johan Hedberg , Luiz Augusto von Dentz , Hui Wang , linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: References: <20210405203533.17091-1-hdegoede@redhat.com> <20210405203533.17091-2-hdegoede@redhat.com> To: Hans de Goede X-Mailer: Apple Mail (2.3654.60.0.2.21) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Hans, > drivers/usb/core/hub.c: usb_new_device() contains the following: > > /* By default, forbid autosuspend for all devices. It will be > * allowed for hubs during binding. > */ > usb_disable_autosuspend(udev); > > So for anything which is not a hub, such as btusb devices, autosuspend is > disabled by default and we must call usb_enable_autosuspend(udev) to > enable it. > > This means that the "Fix the autosuspend enable and disable" commit, > which drops the usb_enable_autosuspend() call when the enable_autosuspend > module option is true, is completely wrong, revert it. > > This reverts commit 7bd9fb058d77213130e4b3e594115c028b708e7e. > > Cc: Hui Wang > Fixes: 7bd9fb058d77 ("Bluetooth: btusb: Fix the autosuspend enable and disable") > Acked-by: Hui Wang > Signed-off-by: Hans de Goede > --- > drivers/bluetooth/btusb.c | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) since we are already at -rc6, I think it makes more sense that you send it directly to Linus for inclusion. Acked-by: Marcel Holtmann Regards Marcel