Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp411874pxu; Tue, 1 Dec 2020 14:38:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKqUnW2OIZkJJhBT3HAFo0Oic35iqHMXIiiuAf8DmT/9aJ9TC34QAriRAYwo5PR4oxC38u X-Received: by 2002:a50:998d:: with SMTP id m13mr5379290edb.143.1606862284288; Tue, 01 Dec 2020 14:38:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606862284; cv=none; d=google.com; s=arc-20160816; b=g5ihhFW4WZQJuK/RpA2MWcyZc/Wx8YRitI9YbEHnAy9+upFNgzE1rI3+W2u9jJl+mS ktmoQRnf8JpaNg96fAA9FjwHT/80H3L7SNqLr+iKzE1p1Th4YFYmZE8mVymC58chrzqB tSudAi9Z3FYR387XzQ1169z9e4PKtB2C7Gej6hO/XeGUjHuoLh67Fi8PcA9msK/Bflbe Ek0WI6iCE1lKCjMYyxNDfJL+6i2tjasJnELncFGxyegM6phxk1soxJV1KFiEFNulOKyX BPbfw09pxSSjNJcn27b/aW+aW+xuAgM6dZUjDchpPae43ehZUp9Bjpg8AT0TX2O38m3Y dt4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:mime-version :subject:dkim-signature; bh=YO7T528IveKzgY+Fkp7j9zsngKTboM0z5a2l0Ge6wZc=; b=MR5oqEOvzHsFyN6wWPqxhDTG9CgDgpB1oisbkqvmv077wdoWeerI3ctOAubY7nVL6x fuuHltncFKmp+NnurCNz9/RViGFj9qML+4yc8wuPfyNjeuj/SqyB4iNG0OUYwsR5Wv1o 4z1N1y0dF7Fty3SBL/oc2VTtNramt3XswtfoarNFWnGyQ8GvakVFva1ib2L42UtlOoqN pZuzhYLhlXZliyOlbDI/Njjnt4AvrDa8mntU5iO+hvuCyWTkBtFuCy9gYaoWPd1wjaQm YUx5B2ujdtIUpjeVgKiXbhqBTdtexgXTIZ/21qVvBVETPUn2qgHlmOj4DSKDmZFwDomE mjOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=av2vphJf; 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 h14si952239edl.381.2020.12.01.14.37.41; Tue, 01 Dec 2020 14:38:04 -0800 (PST) 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; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=av2vphJf; 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 S2391440AbgLAOiy (ORCPT + 99 others); Tue, 1 Dec 2020 09:38:54 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.51]:27549 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388116AbgLAOiy (ORCPT ); Tue, 1 Dec 2020 09:38:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1606833362; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=YO7T528IveKzgY+Fkp7j9zsngKTboM0z5a2l0Ge6wZc=; b=av2vphJfcjhSDoVIhWQ+VkU+U1IBJ3qlGSYJsecBzsCpxiS0plbrdJDW5kPG7S6HMo ylP7mgKd0DxBx9LNMpEHfMCkwnguXGN8IlnHFRR52AEl4xMHC7Z1XVEkGJ9ud0BF3naZ vAr53R3YnEmsbbIE9kSD/r6Y2Zi753kJjziDKJ7Zz/VbvbLYIPkttdYee/0K7mwVAaL9 PM+lTCt4YosJDVsxYH/0/xY6V8ZSn1I4LmULcgV+tRQBylEeufWxWF2ue+XkrrFjTlUt ofq+TQNggN1Tw7bqTfU2aePOzP101F9smxqZr1quvjyYk29LjklknOoIDW7gWtPQgOPq +lDQ== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBp5hRw/qOxWRk4dCz0tZci65gKwSHSOzPCVVBaQfKyHICBNIH6DBKP" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2001:16b8:26a9:5c00:580e:6fc8:ca54:f161] by smtp.strato.de (RZmta 47.3.4 AUTH) with ESMTPSA id N02faawB1EZxUmX (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Tue, 1 Dec 2020 15:35:59 +0100 (CET) Subject: Re: [BUG] SPI broken for SPI based panel drivers Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=us-ascii From: "H. Nikolaus Schaller" In-Reply-To: Date: Tue, 1 Dec 2020 15:35:58 +0100 Cc: Mark Brown , Sven Van Asbroeck , kernel list , Laurent Pinchart , Discussions about the Letux Kernel Content-Transfer-Encoding: 7bit Message-Id: <6283C16F-549C-4463-BC08-E2C1A1D78B2F@goldelico.com> References: <2D7916FA-678F-4236-B478-C953CADF2FFA@goldelico.com> <4AC29229-9542-4E77-B993-217E29C7E209@goldelico.com> <20201201121620.GB5239@sirena.org.uk> To: Linus Walleij X-Mailer: Apple Mail (2.3124) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, > Am 01.12.2020 um 15:20 schrieb Linus Walleij : > > Hi Nikolaus, Sven, > > the fault that the thing broke in the first place is all mine. > Credit where credit is due! > > The reason why I shoot in the dark to convert all SPI > drivers to use GPIO descriptors instead of the global > GPIO numberspace is detailed in drivers/gpio/TODO > so I will not repeat it here. > > I don't know if much can be done about it other than > having better programmers than me at the task. Or > less tired when they write the patch. etc. > > What other operating systems do to get around the same > type of refactoring problem is to aggressively > deprecate and delete code that does not follow the > latest ideas of the driver subsystem developer. This > is not an option on Linux because we don't like to leave > working hardware and users behind so I am painstakingly > fixing it all over the place, with a little help from my > friends. Sometimes it blows up in my face, sometimes > in other people faces too, sorry about that. Everyone has such a patch written at the wrong time of the day... See for example: f069b5a0b27a Let's work on a fix for the fix now. BR and thanks, Nikolaus