Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1573849ybc; Wed, 13 Nov 2019 00:34:57 -0800 (PST) X-Google-Smtp-Source: APXvYqxtrCR5ucjpkzvNb1unQKr0f/hTstz+YOIclnz3LK5yFPojvLXbpGtrAclu2NpttdbAuhT+ X-Received: by 2002:a17:906:25c5:: with SMTP id n5mr1560287ejb.126.1573634097562; Wed, 13 Nov 2019 00:34:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573634097; cv=none; d=google.com; s=arc-20160816; b=XC/UYL1MtbqUcFMOD2LJBrA34SRXMzKvzAgqvZrSIfLSQFoiptMKzfQdvhX50PvI1L au42K6WXuD46vzA7CzYeojZu/ziGHIbFqrXGwuDnjim6Ol1uag08gmKxecDU0rOc0KF/ Mf4McRi6R/s+s4aGPdE5fFpv7TI7PobUQLhuKwCVMa9mMOJLe/rvmFLMApGJ3tpXZtqk lk6zWCztP8AuDKw4ncYOHuM3/zKi6UOJmNrcsqz0KCZcVtfDWFEzsJFOxveqZrWdeVVd /waFIWsRND7mdT9jFEdBN9Gamaqa4SLBahOPnh/Ko4Nc/7ki4F/PoZYq9LdRBf7seEpu 0udQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=tCwbuJ7ZZz84F+Cac8iOAH9+hr3GdXrbsKUSXJNB7YM=; b=lEBPH+jlFl2WADzFf8XeO6Gm6R8tN7JC+xvahGAx43A7wJ1PxtBsgbTcYS8yxBulBm gf9nQmJKz/GK6/vChAbQ9dR3snjaPlLxsZzcQkwj8C0yB2Hom+X2S0vvLI+3s1UoHtuJ 6GkaIZG4Xu6sESFUPdTtVINsYw3FBX+QPpvGnp42zpOx2oYVlNrOx1mhuuRJOUV8j6BW JHCqI6bNf1R89U5CnSE/OyDrQr8sfoV3g1jnFh3OCa9lOJKva7d9MCifPdMPtZA50pED ZAX0a44y6EXkPSFioVzHJW0XjiD3cy9VpwGxAx51gG3pCpRZzVnL0n1M3Oz6ozjt0ped /eAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=rrZ+Xa90; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c10si879099eda.284.2019.11.13.00.34.32; Wed, 13 Nov 2019 00:34:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=rrZ+Xa90; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727080AbfKMIbP (ORCPT + 99 others); Wed, 13 Nov 2019 03:31:15 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:56912 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725966AbfKMIbP (ORCPT ); Wed, 13 Nov 2019 03:31:15 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xAD8LxPo007414; Wed, 13 Nov 2019 09:31:09 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=tCwbuJ7ZZz84F+Cac8iOAH9+hr3GdXrbsKUSXJNB7YM=; b=rrZ+Xa90m4pT77radrMw/Nax5lGsdk24w7llmESCwPgbJiUrANEjskTPwLNLW8EdPyvC 0kApV8Ec84Mm78cJg4i0NYzM/B4qib/2614UBlNw2WA7wnjbylHY49Fj7ptC/+0qmLlD 8z7fj2WRYcV68orGbmFwEtSEAIi5o3TNVksFcPQAGsN0Wh/53VYF/rMr+HDUiefsN8SV 2gKmzUFCbz2KKa8b/8HF394d7AJ9KLjLXTP23SAawtUWf9Eq77IgoEtOxwv6c2WVO8fK JIXU8nW7JzXLP3Zu1I8e7Um9ZM7W1bkt6BZfnA+4IOQiIiBhOvA1jwIvsRZJa9CDPZEM Jg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2w7pstxu8e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Nov 2019 09:31:09 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C008710002A; Wed, 13 Nov 2019 09:31:08 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag5node1.st.com [10.75.127.13]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id B35E02B187F; Wed, 13 Nov 2019 09:31:08 +0100 (CET) Received: from SFHDAG5NODE3.st.com (10.75.127.15) by SFHDAG5NODE1.st.com (10.75.127.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 13 Nov 2019 09:31:08 +0100 Received: from SFHDAG5NODE3.st.com ([fe80::7c09:5d6b:d2c7:5f47]) by SFHDAG5NODE3.st.com ([fe80::7c09:5d6b:d2c7:5f47%20]) with mapi id 15.00.1473.003; Wed, 13 Nov 2019 09:31:08 +0100 From: Fabien DESSENNE To: Chuhong Yuan CC: Mauro Carvalho Chehab , "linux-media@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] media: bdisp: add missed destroy_workqueue in remove and probe failure Thread-Topic: [PATCH] media: bdisp: add missed destroy_workqueue in remove and probe failure Thread-Index: AQHVmezcqeNG3nZyW0iK6S5WdicKn6eItMaA Date: Wed, 13 Nov 2019 08:31:08 +0000 Message-ID: References: <20191113063730.8776-1-hslester96@gmail.com> In-Reply-To: <20191113063730.8776-1-hslester96@gmail.com> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.50] Content-Type: text/plain; charset="utf-8" Content-ID: <5124C79677A8A147981DD104BE59B0ED@st.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-13_01:2019-11-13,2019-11-13 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQ2h1aG9uZywNCg0KDQpUaGFuayB5b3UgZm9yIHRoZSBwYXRjaC4NCg0KDQpPbiAxMy8xMS8y MDE5IDc6MzcgQU0sIENodWhvbmcgWXVhbiB3cm90ZToNCj4gVGhlIGRyaXZlciBmb3JnZXRzIHRv IGNhbGwgZGVzdHJveV93b3JrcXVldWUgd2hlbiByZW1vdmUgYW5kIHByb2JlIGZhaWxzLg0KPiBB ZGQgdGhlIG1pc3NlZCBjYWxscyB0byBmaXggaXQuDQo+DQo+IFNpZ25lZC1vZmYtYnk6IENodWhv bmcgWXVhbiA8aHNsZXN0ZXI5NkBnbWFpbC5jb20+DQoNClJldmlld2VkLWJ5OiBGYWJpZW4gRGVz c2VubmUgPGZhYmllb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