Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp87915ybg; Tue, 28 Jul 2020 00:16:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9VGJ0HJwnDZWR1mCz2T0VfnQuSadQBdeY9xx5WI48MdapkRLeAM0sRfeZAozeJDE2ZYIM X-Received: by 2002:a17:906:1914:: with SMTP id a20mr23615695eje.233.1595920567249; Tue, 28 Jul 2020 00:16:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595920567; cv=none; d=google.com; s=arc-20160816; b=ybui2uFouTlTBKekkc3SAzx0VbK7BoJl/ZybD97hvmTs63Ogkk9HoyF2k3/6bQIrLG y4BN8yJGZmI1LUOLHlt4c542rqOoPyWI20II5vTmpuLdATheRBKI8MIidKjNBXc4hMEI Wi9RmTK3GFtNm2GvDNsaX9aqEOKrnqqEWTg+aP7CbcKR7Y4ECK5SdV7eVIwUmKbevng8 hVzGAZ882XeYBL6VV86rDcpjhuWR2TvUBeT39jzlEUF81iin9kGR85ZcrI8EqUZe/dFz 4soWfGKn8zSLIx74jXfm2WcK6ZzDt+N5MyIt+XfLFroacldu5ikbkBp9gzIjp/yT8OcS tJOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=EMU4y1+oLdQzEv6eI3FbNYl7QJnyFbNdYv1EDMAyp9E=; b=B020wQHoF6sMC5GcoDyxqojCQeH6ez4lSE+U6uSr56UocX/jdGUpzf9BA4BvScg66N b04ayKx1pVNwce50/HgE122fSFaTicGXO982e8JqtiUt0xqiHEc3he9z8nnxlwRsqLNm h4UWdCOJ+GfVATGt9MIri6Hib5jnWu3WFi9ncCKN/PI0wZf9NblqxQt1La+3Qz0gNgpM MC7Bv13ubd51tawXbiWeqT1FxSM/xMQqPu9c1DVmBRIng6+YglX1jBFKAcuGlLABon3K lmTIrme2PuSU6R1mhAb8F4hLrHe/ovHMRBVLBZid8PfYPvssBDsMbwNLaWuAGCJAj0XO r6rA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 dt1si358943ejc.574.2020.07.28.00.15.44; Tue, 28 Jul 2020 00:16:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727877AbgG1HNK (ORCPT + 99 others); Tue, 28 Jul 2020 03:13:10 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:49209 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726854AbgG1HNJ (ORCPT ); Tue, 28 Jul 2020 03:13:09 -0400 Received: from marcel-macbook.fritz.box (p4ff9f430.dip0.t-ipconnect.de [79.249.244.48]) by mail.holtmann.org (Postfix) with ESMTPSA id D2B49CECCD; Tue, 28 Jul 2020 09:23:09 +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] Bluetooth: Return NOTIFY_DONE for hci_suspend_notifier From: Marcel Holtmann In-Reply-To: <20200723104742.19780-1-max.chou@realtek.com> Date: Tue, 28 Jul 2020 09:13:08 +0200 Cc: Johan Hedberg , "David S. Miller" , Jakub Kicinski , linux-bluetooth , netdev , linux-kernel@vger.kernel.org, alex_lu@realsil.com.cn, hildawu@realtek.com Content-Transfer-Encoding: 7bit Message-Id: <818B8B6F-F093-40DC-9B02-CFF0B9C9DE08@holtmann.org> References: <20200723104742.19780-1-max.chou@realtek.com> To: max.chou@realtek.com X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Max, > The original return is NOTIFY_STOP, but notifier_call_chain would stop > the future call for register_pm_notifier even registered on other Kernel > modules with the same priority which value is zero. > > Signed-off-by: Max Chou > --- > net/bluetooth/hci_core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) patch has been applied to bluetooth-next tree. Regards Marcel