Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp98001rwp; Wed, 12 Jul 2023 10:12:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlHXFkic4RY5HTGcBin/wEMBBwx+inO4LQlFAsQAd4PCuMEGPJ14e/wDrnOh5f6Uco2mTFAu X-Received: by 2002:a05:6870:e0d3:b0:1b3:e896:9bfc with SMTP id a19-20020a056870e0d300b001b3e8969bfcmr17336679oab.4.1689181944102; Wed, 12 Jul 2023 10:12:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689181944; cv=none; d=google.com; s=arc-20160816; b=CTmJl93k4Ks/nvp2o12BAzn8ISa1j6zw/VKVV9VvPEJsOZRPOGn1JT3xc9ZVIF2wSI Fd/RW8GzepHPkQabB/ynsnV4A6gyn60ebOHDCVMp5zZtBo5nd+e51RyMbU2zrMt+HUgV qf4PxeDFhsjv50qGpgTEpLq0CjlKDQb9HQSxRevOj53m3C9HIeI9VWktoBlNfREvaUvW TVQUdG3DQp1jTlEpFAXKlV+GNkNRZjUYdoqqjdlJv0He5F/gY0yxA2gplbJesT+HysXi TfXx9kmYRdysxV5mLqixHqF4YgQhpPfgQZ+uUfkhxs22aKmetiAtBnd4gc+LGdcqq930 w/pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=B/5PsCg3B8TWEnV/7QCpalAnjklbQnYY+T5WlsDJH1k=; fh=vNo5eb2XJdbGIc8xtodGfEVvGVlUgYOWVBeDNjZxCNY=; b=BJ2I/Jti+XIZ6ikoGK4y6722aVVlrrZK7G6zKAoRwijYMuKoOdKBXiZVe12tbRLHZG U7mIedcK/EwQxXwt8mxR5lc2Ju2tg/Jx28dONObsJO4YwSJ6QM7KcttXr95bjyJskDDV vO73zOGEqE5+8QldklkigdPkOOn/M5/S7HKFVtpzZSq2OWfL5Y3XsQ/PXEbDSJ6488ZD uW8UltfwLsFOp1L4APvDvgAPPEiXzVFGAqx5DcSK199vYg8maH1SlrQC5oHA24EYNgFr gEPMfbxSJgp0KexfjEsID2i4BS3yT/T9FFWCpiJGsYX3cTIvZzChg4VMg6l+Cyrr7JJs q5hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wJnM3kLZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y15-20020a17090a2b4f00b0026359084fd2si10820860pjc.69.2023.07.12.10.12.12; Wed, 12 Jul 2023 10:12:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wJnM3kLZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232739AbjGLQlL (ORCPT + 99 others); Wed, 12 Jul 2023 12:41:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232762AbjGLQlH (ORCPT ); Wed, 12 Jul 2023 12:41:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B58D9E69; Wed, 12 Jul 2023 09:41:00 -0700 (PDT) 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 3E91361830; 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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