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=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 823ADC433DF for ; Fri, 29 May 2020 14:05:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 691572073B for ; Fri, 29 May 2020 14:05:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727087AbgE2OFK (ORCPT ); Fri, 29 May 2020 10:05:10 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:45484 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726476AbgE2OFK (ORCPT ); Fri, 29 May 2020 10:05:10 -0400 Received: from marcel-macbook.fritz.box (p4fefc5a7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id 23EBDCECD5; Fri, 29 May 2020 16:14:54 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [PATCH v2] Bluetooth: hci_qca: Fix qca6390 enable failure after warm reboot From: Marcel Holtmann In-Reply-To: <1590760617-30285-1-git-send-email-zijuhu@codeaurora.org> Date: Fri, 29 May 2020 16:05:06 +0200 Cc: Johan Hedberg , open list , "open list:BLUETOOTH DRIVERS" , MSM , Balakrishna Godavarthi , Harish Bandi , Hemantg , Matthias Kaehlcke , rjliao@codeaurora.org Content-Transfer-Encoding: 7bit Message-Id: References: <1590760617-30285-1-git-send-email-zijuhu@codeaurora.org> To: Zijun Hu X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Zijun, > Warm reboot can not reset controller qca6390 due to > lack of controllable power supply, so causes firmware > download failure during enable. > > Fixed by sending VSC EDL_SOC_RESET to reset qca6390 > within added device shutdown implementation. > > Signed-off-by: Zijun Hu > Tested-by: Zijun Hu > --- > Changes in v2: > - rebase > > drivers/bluetooth/hci_qca.c | 33 +++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) patch has been applied to bluetooth-next tree. Regards Marcel