Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E135BC433FE for ; Mon, 6 Dec 2021 14:47:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344584AbhLFOvU (ORCPT ); Mon, 6 Dec 2021 09:51:20 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:49374 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S237563AbhLFOvT (ORCPT ); Mon, 6 Dec 2021 09:51:19 -0500 X-UUID: b0cbf87fa0cc44f5b0ecc4cec042812d-20211206 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=MIME-Version:Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Message-ID:Date:Subject:CC:To:From; bh=j1IWWPpnpPtjbA/xPDcfmppDEyYymzl9DIAAK72gq+I=; b=QjVZkOXEa1Zxp0mjt1anO7FNRXYHREd96Ir8HRHj7FUvFTLSAIe99FyT+w41icMHwtILX27pNyq6EStFO84GBKPCT5UBiNWTmrdcj8QTwiIIL7pFmtitKB3AMFVqpoVMflrgEU0sn6L6OqbUzKqfhD/qVLX2LapUI35prfu1Q/E=; X-UUID: b0cbf87fa0cc44f5b0ecc4cec042812d-20211206 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1719651498; Mon, 06 Dec 2021 22:47:47 +0800 Received: from mtkmbs10n2.mediatek.inc (172.21.101.183) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Mon, 6 Dec 2021 22:47:46 +0800 Received: from APC01-PSA-obe.outbound.protection.outlook.com (172.21.101.239) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server id 15.2.792.3 via Frontend Transport; Mon, 6 Dec 2021 22:47:46 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OQdgz+k3m3xYXF6Fstwib7dKFuIrpoQaCfxecTVVIp9J5KpI+cHih66ziFdXYhuDzc0i5xu5YHow5qVIX5mXO8h34vp2pqOyLwsd00Kj/f/cNJ5ATWvBzDepXic6cAPfH26yE5tIe4J4cOyEDoUvzlRpr44KDlVqo87L4UWcK0RwvsNAbmHyEFLCmQj1OjPEbjh+Puei2+Cu04YJwZBAUijYlmxEvL9c2gqArunp17L4l6RFfl7QS+pvj0VbcrUN8zgWw8ZFPIRL7nxQB9ar5qnInrMIujy+bqxLz1BDue/NgYNcnFVUR/zzxM0+RuUk9vu619MRiezzunYI5sKvag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=j1IWWPpnpPtjbA/xPDcfmppDEyYymzl9DIAAK72gq+I=; b=WCya+4lddCVIkj4/ShzFG9MMNY/T5sQAf4tFDSKS7zZOX8u3BDysbDm+yJ7TphiBJxqN3wmEXrzklAytyXigR4vlYNTAXnlXShaiKYFkcdKIRjUN6A/y8Ybu1S256Rn8JkPVZNZT9oWeuxM+dlHdRI8FKX5Ziyw+EhGzFfDC64s+i8el4dE6bY9K3cKqFQD1gHVTKQPt5UZIXtNbvOV9EW4OJfsECubk1Swmz1VSE5JH4EVQdvjvqhx7lEKKWjg7//muj4BmtMqsEwiQrn7ZcUozKzJ9GF13sWya4sWtecGPeWrQiynOFSjBjiaGfvUSYpzdU6210LGWbdBVoE91uw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mediatek.com; dmarc=pass action=none header.from=mediatek.com; dkim=pass header.d=mediatek.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mediateko365.onmicrosoft.com; s=selector2-mediateko365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j1IWWPpnpPtjbA/xPDcfmppDEyYymzl9DIAAK72gq+I=; b=QSb44KXsfnZ93sk1Xkghz3TgfdCmqdE8ioL+YKLzygeNKFHyh/K2muFjGchJSVk5oDkPR4dv3cMz2tvhpjNUdQ4IAdxDMG2YVJ2eLGey2GIPqQ85lgon6ItWsDZW8eJHJO4ALWLp9hItJMUJBrKSTsdCIezwhRgTzB5FsJZry/U= Received: from SL2PR03MB4457.apcprd03.prod.outlook.com (2603:1096:100:5b::16) by SL2PR03MB4603.apcprd03.prod.outlook.com (2603:1096:100:62::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.10; Mon, 6 Dec 2021 14:47:42 +0000 Received: from SL2PR03MB4457.apcprd03.prod.outlook.com ([fe80::a504:479b:79da:9c15]) by SL2PR03MB4457.apcprd03.prod.outlook.com ([fe80::a504:479b:79da:9c15%3]) with mapi id 15.20.4778.010; Mon, 6 Dec 2021 14:47:42 +0000 From: =?utf-8?B?TWFyay1ZVyBDaGVuICjpmbPmj5rmlocp?= To: Paul Menzel CC: =?utf-8?B?QWFyb24gSG91ICjkvq/kv4rku7Ap?= , "kaichuan.hsieh@canonical.com" , "linux-bluetooth@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "marcel@holtmann.org" , "johan.hedberg@gmail.com" , Luiz Augusto von Dentz , Sean Wang Subject: RE: [PATCH] Bluetooth: btusb: Handle download_firmware failure cases. Thread-Topic: [PATCH] Bluetooth: btusb: Handle download_firmware failure cases. Thread-Index: AQHX6oNEG+a4uNTdPEWZmxQdgBd/FKwlOGyAgABQi6A= Date: Mon, 6 Dec 2021 14:47:42 +0000 Message-ID: References: <20211206092546.27216-1-mark-yw.chen@mediatek.com> <61e772a7-6e46-7c0f-32ba-b3e3ad88062c@molgen.mpg.de> In-Reply-To: <61e772a7-6e46-7c0f-32ba-b3e3ad88062c@molgen.mpg.de> Accept-Language: en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcbXRrMTM2NzhcYXBwZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZiODRiYTI5ZTM1Ylxtc2dzXG1zZy03NjQ0OTdjNS01NmEzLTExZWMtOTFiMi0yY2YwNWQ0NmQzNzBcYW1lLXRlc3RcNzY0NDk3YzYtNTZhMy0xMWVjLTkxYjItMmNmMDVkNDZkMzcwYm9keS50eHQiIHN6PSIzODA0IiB0PSIxMzI4MzI3NTY2MTU3OTY3NDkiIGg9Ii9TZjRFNEp5djNhYzNEWG1zTVVqOTNtUnNUWT0iIGlkPSIiIGJsPSIwIiBibz0iMSIvPjwvbWV0YT4= x-dg-rorf: true authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=mediatek.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cdda3989-d184-4938-a73a-08d9b8c75bd3 x-ms-traffictypediagnostic: SL2PR03MB4603:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dt8ydKGxjkgGPuHMCtqqy/GiFsz4Q98QEz9c+VRjNkYOrvnWKM+v29KHTDLXGwKoq2geqW7u84QFIaADsvviTdrChqyum19ixkhyIaipgr99rmTzEh6JiggI3Dw1Rw17UscTdyXOpMS7uApVfakcFX9MVcSDXm3aSerzZq9E/DVutkqHp81so4mI5SgP8S71OrJFyCv2+MvfegRP2ibv6xIxu2KagvBJG04PO9f9N0Jm8VAniAra9R4K8S8wvu3PFsIxs6Y1GDjjpFu69x/rXs8zrljSeE8BboMXefs9eGofByLERuR048/5vGUq8TzCZMQF77TowGsEwCbcPFqd134rKjHu7Z0qhwCdljB0op9+0jua1BpjnRp0pC+fmcutuEOzG1cl1jb0D4YAg3j1oLZup7flraKahYgfh5CRbBNYLFOpFfSkkez9L7mPr23ryBSwOt9ToqYpse0C1eQHJXoHMOAofeVaOrTEVhi5VkPA+KCOuGSrjMrNmJtd79NmX4IuUwyeIt17aL3anLUD47zDZkhYbw4vF6PHpaUfJgIMnJgmReLIQ/0GSjxm2+Dqho+Kn7tgIypEZfxocqHAgVxTg38EAzXvXBhSAj31PODHDzVZFj6cbUzJ9DPgC0elAKbTbXbTMe3qxHt8etty4zy2rmOSr4xPNciI68R/lIOLj0ZVlb+A3xpebwFWEyBUixXD+ZpKXkQEu3VRlvrxJg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SL2PR03MB4457.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(122000001)(38100700002)(6506007)(4326008)(85182001)(71200400001)(5660300002)(26005)(7696005)(186003)(6916009)(8676002)(33656002)(83380400001)(53546011)(66946007)(76116006)(316002)(66446008)(55016003)(54906003)(9686003)(66476007)(8936002)(64756008)(38070700005)(66556008)(86362001)(107886003)(52536014)(508600001)(2906002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?czkwcVFsT21KUjh2NUNHZVI1TTNRZTlYSUVjUFQ4b3hJbzAxcWRrOUVFUTBV?= =?utf-8?B?SGdSdy8wK0FpT3Uxb1ZPY2hOcE8wUj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UVhKMFpMaHJFS2k1UThVaytyZmQ1Zk5NVjlWaDIrUkgrMWprMUhWOW5a?= =?utf-8?B?K1Y1cSt5UXhvc2xzQitQODdoZ2k3UWcxdGhSaEpqd3hFcXd6cEJqcVJFRDNP?= =?utf-8?B?aWpXZk9jaWdMUVFkcGdCOFZzWGd2WEMxRkRpOTJPMkxvbmNBQ3VrODBGbUZ4?= =?utf-8?B?NEtVR3BNLzBDdm43THdkYVd2U2xiV2dXVjdwcDR4dStjWWxmOElxUXN6YUl5?= =?utf-8?B?K3V4N2lDTXFub016bzNUb0lMOGw1aVQ4VFNDRU5pTWp5QWxpZlJXZjBlc1FB?= =?utf-8?B?WnNmMXlwOUNOR3pBQVpwTWpIOXB4VjNQZVdvcW8wUDNGcTUwNnVEYXBGZ2ZZ?= =?utf-8?B?b2E2Vy9adG1RSEpwSnhDa1BaYW5BPT0=?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SL2PR03MB4457.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cdda3989-d184-4938-a73a-08d9b8c75bd3 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2021 14:47:42.6829 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a7687ede-7a6b-4ef6-bace-642f677fbe31 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: AsldkZm0uC73YVtn2p21DaZYafVnr0CJidK7TjGGlyrpdb6DMN3w2qVI+Fn/JoqePIyKvF/HkpKnvf8+WyK9h9wiGISRgRTDmlOMMihpMsI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SL2PR03MB4603 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org SGkgUGF1bCwNCg0KVGhhbmtzIGZvciB5b3VyIGNvbW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