From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1BAAC388F9 for ; Mon, 23 Nov 2020 11:49:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 53D3020758 for ; Mon, 23 Nov 2020 11:49:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729133AbgKWLti convert rfc822-to-8bit (ORCPT ); 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-kernel@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