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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 05657C001DE for ; Wed, 12 Jul 2023 16:41:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hmxb/63udTLzbGcq9mVBJOz4FIAcImfMsuouHZyjlmQ=; b=t9ZIf5CU4aPW4/ uhNKFnUScnVcrApCMqEAWvgnnN0j6WebejOcc1eStIsrL3neSPs3Yp2Y6IH1LTnFf1t29I88Fth+z H2IB54woERClm3BAKQ7C22QE2iQpp0RJh24533wd+KZr3xJOirGPdhjqvIa9shcbKJ1+cwxn1Zfib xjRIu1erYt/8s3K86C0SLvxqAWkOHCZUcUOSKdTD+yu63BPh/bp6Yz3Rmcy7DPVbeh7bwpfxpV8p2 bzbaGr/qRlNRnF8dX7kDmc3cWst3EfQXfwaExJAtucxB79AbtfmIqY/MP0RuKi0Nw08Cuu3BChtzi D07pwhIu81GEbaOJWw0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJctj-000d1P-2e; Wed, 12 Jul 2023 16:41:03 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJctg-000d0d-2J for linux-arm-kernel@lists.infradead.org; Wed, 12 Jul 2023 16:41:01 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3DB56617DF; Wed, 12 Jul 2023 16:41:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DE92C433C8; Wed, 12 Jul 2023 16:40:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1689180059; bh=B/5PsCg3B8TWEnV/7QCpalAnjklbQnYY+T5WlsDJH1k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wJnM3kLZpdT368vjbI5B8SYo0XZgzh89IyOahuQvEIR1ikwLd04ZuNqJGjyN+ssLV Ovi1HEwydr81yQRensEKlGEnAEHcn+22PtxVxaemRcm9ir9xZuaTi5jsdJE66Z4C3L NM7y/okdtTCy1k8kwY32uQv/dY9IwIs20DoVPaB4= Date: Wed, 12 Jul 2023 18:40:57 +0200 From: Greg KH To: Souradeep Chowdhury Cc: linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, Andy Gross , Konrad Dybcio , Bjorn Andersson , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sibi Sankar , Rajendra Nayak Subject: Re: [PATCH V1 0/3] Add notifier call chain to Embedded USB Debug(EUD) driver Message-ID: <2023071218-woven-oversleep-444f@gregkh> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230712_094100_794356_BFAB7EAF X-CRM114-Status: GOOD ( 14.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jul 12, 2023 at 01:52:37PM +0530, Souradeep Chowdhury wrote: > This patch series adds the notifier chain to the Embedded USB Debug(EUD) driver. > The notifier chain is used to check the role switch status of EUD. Since EUD can > function only in device mode, other modules trying to do role-switch on the same > port have to first check the EUD status by calling this notifier chain and based > on the status proceed or block their role-switching step. The modules can call > the notifier through the call eud_notifier_call_chain and pass their own > role switch state as the argument. This chain will also be able to handle the > scenario of multiple modules switching roles on the same port since this can > create a priority and ordering among them for conflict resolution. You are adding a new api that no one is actually using, so why would we accept this at all? And how can we actually review it without any real users? thanks, greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel