Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp748859ybn; Wed, 2 Oct 2019 05:40:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOGxT7sk6cw1k/XzBEBRe0KEXO9qNOOz3pF5JS8XGp3wm/K1ZTrO2omernRcat+7yQ8Aap X-Received: by 2002:aa7:d295:: with SMTP id w21mr3572742edq.302.1570020047633; Wed, 02 Oct 2019 05:40:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570020047; cv=none; d=google.com; s=arc-20160816; b=zSBQ/h+SnF2sZnUWh+kiizGR85Z6+HeuFUQGcheRZykrtjgyZzXm9zxe0/2zwCNruy AEa/tayyHCAgX/+enVC3PCLOtXQFzqeZGAV8OZRC4Y9cBiKOC3+YymdA5TTokNVUe+/W W5k9Pzm2HeL+KqgOGcVoABACoeNMUmUo1iYlaxMfP/fItwrb2j3LI/cZmC6laRa8p9ry ahW1jfyx2daRNc9ruAVBchSTL7g+FncxcAZS7h4Z8uCwpOZ2VfYEzDINHwt/LuHt92rc 6a54743ZTZmiht84ClTw+ONrxRa8+ZooM44j67GEEyodJGbgFA/roMPMTtGezoaueo8G sjoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uGk0NsnReW3v26x69JoF4U/XFHQmuXUFuiRSC/I83Fg=; b=weX+pSpoVmFHMn7myV4CuaOxBtN75uycOY6bXTbR8wuVyXL+fVinAHCxf0iqPvMFrM hIs7uvr5BcA53Tk3WNDMjzNp/z4d/lm3W10SNoYilMT+9Up+VWkmWlhxuN4l6l+ALl3v akkZlIbIhzaHmQgekUvCTyNCHbnCuyfwi0DwM3FZirkEo289AU/qex2EwiMj99Vl2iq6 wvb0IiBjsNFsI9GjaNJF1JBcUxaJtngqKQ84FLCFKzcdoZ6LlKOATbKglNtqhMa3SSTH sv5Qyrv3RI2dmwBlaq9EOaOndn4l9v5YuOaNQNmc3ngc9yfFjANT6LAM7ZikjF8I6KaG LM4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sM6qtA+y; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e50si12756125edb.177.2019.10.02.05.40.23; Wed, 02 Oct 2019 05:40:47 -0700 (PDT) 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=@linaro.org header.s=google header.b=sM6qtA+y; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726030AbfJBMiE (ORCPT + 99 others); Wed, 2 Oct 2019 08:38:04 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:35727 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfJBMiE (ORCPT ); Wed, 2 Oct 2019 08:38:04 -0400 Received: by mail-wr1-f67.google.com with SMTP id v8so19504577wrt.2 for ; Wed, 02 Oct 2019 05:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=uGk0NsnReW3v26x69JoF4U/XFHQmuXUFuiRSC/I83Fg=; b=sM6qtA+y6e7x1nTHaofxM9BD/VTOgP5onwXKS6WOPTvz/Fn+5Bc1DTKW/8qf11Dqyi fCWGOI0yGP+HVLyfkD9tqXvA+95gLwYxx3+dsBe780mV9990tfSkH63E6BX1jB+ZApZg m48sydXZOM/FlfZwrgQFIQedpUwJem5Gzb8IMJWlAAoJimdgFJ7MzVtExlu2tFEsZG82 tYQceUIze60tVwcsIc27yjS61uLF0CFPSZ+gm4SCJLH6k4RZi8kVftQFDALOxUj2eQBB bSt0hqyl4yoChI9MoQeU4yktEtLk5HjfPB8EVjpzN3Zzm7NeH6xCH87LzIvb5uJUJQ7M ZYSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=uGk0NsnReW3v26x69JoF4U/XFHQmuXUFuiRSC/I83Fg=; b=nFFOGC64EUpkkBRDALVQFMbPDxQ1RSOu/UlXsWYFMzRj8ZqoRU7wPe2nZIafA6dbO2 VfwuBLzT6gKlxpiDvBwdkfq0QrAUR7BujOQGu7XfkX51iBvEjnt3yCIDd3oq565BOPMF zIf4PC0HprqXDtHRGyfQrTaT83op+ER4T1TQ+oYHuTXuL6swgT8k5I8/8qXgkwSo3SS9 trLBiZ1CZ6Egyp/hPoArfJb3/8nodXWHqBP4S89Zyu6p1Jv7Z33OvKxHhFD8fEvQc9tS d6fiENqtsY3kAZn/c5AkE/2dvAivH+2FDr2aMa1al5iMZhGw61EmXCnAhVUZ9iWYTsMX e/9A== X-Gm-Message-State: APjAAAVSbTvvRCCgu0+2dd5pAQWhThxERvuRa2jN+/sZ+M1s87Uv8aek KMzXAqC63+vKHa1AlPfJs6nxMNIGDDA= X-Received: by 2002:adf:cf02:: with SMTP id o2mr2797118wrj.380.1570019881834; Wed, 02 Oct 2019 05:38:01 -0700 (PDT) Received: from dell ([2.27.167.122]) by smtp.gmail.com with ESMTPSA id u83sm7097505wme.0.2019.10.02.05.38.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 Oct 2019 05:38:01 -0700 (PDT) Date: Wed, 2 Oct 2019 13:37:59 +0100 From: Lee Jones To: "Deucher, Alexander" Cc: "RAVULAPATI, VISHNU VARDHAN RAO" , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , "Mukunda, Vijendar" , Maruthi Srinivas Bayyavarapu , "Mehta, Sanju" , Colin Ian King , Dan Carpenter , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , open list Subject: Re: [PATCH 2/7] ASoC: amd: Registering device endpoints using MFD framework Message-ID: <20191002123759.GD11769@dell> References: <1569891524-18875-1-git-send-email-Vishnuvardhanrao.Ravulapati@amd.com> <1569891524-18875-2-git-send-email-Vishnuvardhanrao.Ravulapati@amd.com> <20191001064539.GB11769@dell> <2ff13a61-a346-4d49-ab3a-da5d2126727c@amd.com> <20191001120020.GC11769@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 01 Oct 2019, Deucher, Alexander wrote: > > -----Original Message----- > > From: Lee Jones > > Sent: Tuesday, October 1, 2019 8:00 AM > > To: RAVULAPATI, VISHNU VARDHAN RAO > > > > Cc: RAVULAPATI, VISHNU VARDHAN RAO > > ; Deucher, Alexander > > ; Liam Girdwood ; > > Mark Brown ; Jaroslav Kysela ; > > Takashi Iwai ; Mukunda, Vijendar > > ; Maruthi Srinivas Bayyavarapu > > ; Mehta, Sanju > > ; Colin Ian King ; Dan > > Carpenter ; moderated list:SOUND - SOC LAYER > > / DYNAMIC AUDIO POWER MANAGEM... ; > > open list > > Subject: Re: [PATCH 2/7] ASoC: amd: Registering device endpoints using MFD > > framework > > > > On Tue, 01 Oct 2019, vishnu wrote: > > > > > Hi Jones, > > > > > > I am very Thankful to your review comments. > > > > > > Actually The driver is not totally based on MFD. It just uses > > > mfd_add_hotplug_devices() and mfd_remove_devices() for adding the > > > devices automatically. > > > > > > Remaining code has nothing to do with MFD framework. > > > > > > So I thought It would not break the coding style and moved ahead by > > > using the MFD API by adding its header file. > > > > > > If it is any violation of coding standard then I can move it to > > > drivers/mfd. > > > > > > This patch could be a show stopper for us.Please suggest us how can we > > > move ahead ASAP. > > > > Either move the MFD parts to drivers/mfd, or stop using the MFD API. > > There are more drivers outside of drivers/mfd using this API than > drivers in drivers/mfd. People do wrong things all the time. It doesn't make them right. > In a lot of cases it doesn't make sense to move the driver to drivers/mfd. In those cases, the platform_device_*() API should be used. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog