Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp769505pxu; Mon, 23 Nov 2020 03:50:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJwbrQQxyAmVCWfgBsNBUjgfdGzq6nF+wqfMssAe3BYoTIlIeMQBZhNQ0uhyvSZfCnA5Hf0s X-Received: by 2002:aa7:c358:: with SMTP id j24mr47334997edr.265.1606132216553; Mon, 23 Nov 2020 03:50:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606132216; cv=none; d=google.com; s=arc-20160816; b=RgYS9uw2aCmSRRNviRFV8voFCErZjlQSXctCM4apPVLXnRYpB/TgcigF/szm5px3S3 mRWHl2I+sl/4bbacpHxqVIp0xKA/55KzG87fau+oYmrLWRV3Sb3TfNv29RTHRucnrHr2 XbPZFs7xbsOQalL2WyZS0pUOl+FRkh8B1x0V12f6DhNIOwcLOt5lEE8KICBi6AhI3JDF 6WiNrTpNgoYzFvRd3o9Wabvc2iLwoOQg13wlEKXSz348xJR9vrxhEQuj2y5M64dUnxpe Ss3Q5KFOmylX7HAJCsivsis+oQ+s2H4SyrJuRfE9zXpbN28cPpjjv8rWj2m+/kR/d7eK +T1g== 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=MeOUCb80NYHRl3xFLXMPYCFAtblcfoVmvtxpVwCXjrc=; b=NYW++HIO5pQxwttqZ2LDgoJdY9fvWwfHoLm7VyzBwFk2ei3i//PmbKlyWBg6NrW+D0 uqSzkMYw58B9D2HH8NzsfadfPjPiq8FLjYNlElhvmNSds0GsHVgEZ3K9545Lfek+5KQG SkMK++jrCsDYU95kmT9dWA5WePVI83L4wQ/D1fqjat6aJieefphyGxms8ZiOjiEytDPn 4y4xLY6VdJHlxJ5NJMsn7jLI57Mpj9hyOnf74siKHBH2vv/hkjXTZCfFGUrf1D7bv8wp VyoLHj0elpWTM9hTJuTEK4XRehMHsuWfk5AEfttTgxZognn7FSj7D3RsJKFDZqytOc6c 4x9g== 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 qc1si6495450ejb.315.2020.11.23.03.49.51; Mon, 23 Nov 2020 03:50:16 -0800 (PST) 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 S1729020AbgKWLti convert rfc822-to-8bit (ORCPT + 99 others); Mon, 23 Nov 2020 06:49:38 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:47864 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728976AbgKWLti (ORCPT ); Mon, 23 Nov 2020 06:49:38 -0500 Received: from marcel-macbook.holtmann.net (unknown [37.83.193.87]) by mail.holtmann.org (Postfix) with ESMTPSA id C56DBCECCF; Mon, 23 Nov 2020 12:56:46 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.21\)) Subject: Re: [PATCH v1] Bluetooth: hci_qca: Handle spurious wakeup from SoC From: Marcel Holtmann In-Reply-To: Date: Mon, 23 Nov 2020 12:49:33 +0100 Cc: Venkata Lakshmi Narayana Gubba , Johan Hedberg , Matthias Kaehlcke , LKML , Bluez mailing list , Hemantg , MSM , Balakrishna Godavarthi , Rocky Liao , hbandi@codeaurora.org Content-Transfer-Encoding: 8BIT Message-Id: <6D6829E2-15BA-4424-9F65-DF408B904D87@holtmann.org> References: <1605463143-4635-1-git-send-email-gubbaven@codeaurora.org> To: Abhishek Pandit-Subedi X-Mailer: Apple Mail (2.3654.20.0.2.21) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Abhishek, > I think this code would be simplified by using a delayed_work struct > instead of a timer. And I pointed this out before that all the timers should be moved to a delayed_work. In addition such a complex support for hardware should move towards its own driver solely base on serdev. I am currently getting a bit fed up if I point these things out and the answer, please merge this now and we fix it later. Maybe I need to stop merging things and wait for a proper separate driver for this hardware. Regards Marcel