Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757106AbdLPRr2 (ORCPT ); Sat, 16 Dec 2017 12:47:28 -0500 Received: from muin.pair.com ([209.68.1.55]:57917 "EHLO muin.pair.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756780AbdLPRrZ (ORCPT ); Sat, 16 Dec 2017 12:47:25 -0500 Subject: Re: [PATCH v3 03/11] ASoC: fsl_ssi: Refine all comments To: Caleb Crome Cc: Nicolin Chen , Mark Brown , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, alsa-devel@alsa-project.org, Fabio Estevam , mail@maciej.szmigiero.name, Liam Girdwood , Arnaud Mouiche , lukma@denx.de, Sascha Hauer References: <1513207108-30430-1-git-send-email-nicoleotsuka@gmail.com> <1513207108-30430-4-git-send-email-nicoleotsuka@gmail.com> <01a7d97b-7e80-83b2-e850-d513d7dc35aa@tabi.org> From: Timur Tabi Message-ID: <4680f3e1-e0c8-baa5-6ca4-85d3feb4eb87@tabi.org> Date: Sat, 16 Dec 2017 11:47:21 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1135 Lines: 21 On 12/16/17 11:30 AM, Caleb Crome wrote: > Having come to work on this driver with very little knowledge about > kernel programming, and i.MX, I have to agree with Timur. It's an > amazingly complex driver (with support of so many variants). By > eliminating verbose commentary, it's also wiping away a lot of > knowledge. The more sparse commentary makes things harder to > understand for newcomers, or really anybody who isn't already steeped > in knowledge about the SSI port and linux, and it's interaction with > DMA. This is exactly why I wrote the comments the way I did. As I was learning about the hardware and ASoC drivers, whenever I was confused about something and then figured it out, I would add a comment about that. I figured if it wasn't obvious to me, it wouldn't be obvious to anyone else. And since this was one of the first ASoC drivers, and the first to use device tree, it would become a reference driver for years to come. That made it even more important that I document everything I learned. I am pleased that other developers kept up that commenting style. This patch destroys all of that.