Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3455029imc; Wed, 13 Mar 2019 19:27:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgMXN4VcZau6MoUDXArT3b6vENuXza13kx6s34+KipNlo1kYYyp6P90R8WaiSc6bYQb7+N X-Received: by 2002:aa7:83ca:: with SMTP id j10mr47098600pfn.50.1552530476063; Wed, 13 Mar 2019 19:27:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552530476; cv=none; d=google.com; s=arc-20160816; b=0ATcpCEDqEOJxrFpGL5hb0xDHcKoRbhuBEXFDXic+BfQlrKlQQAH7qr/E8VUsI8tQc kNi2jjvbBU2zM1wT7EZ1gvbm1IStnTSopM7/IHtgjY1E5G2yEeklPd3hrmjA2CkFqZl/ SwWGoHvF186MW6QKZN1roAWbjVUUs1w/1ctE+Zc3z0lgLcCO+q7xz5gAAXHUOvvuBQPb 6YTKu2Kg01kbBsJ7QjRKJOO5XBsFOwYyPaGlEtqibFPIiFO5FVhv7/rkzkMmwnzrzJ8/ vzDxwHN+UjPCay3//R4VIugdMHSqLEzvd9nRzcqpnkxv2QioQ+OmrImQqwSubxA4YPD3 pRDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ZLfOoOWXZn/AMrTO7kHoHxaQuEeaJj4NN+VomR+w5X0=; b=A35+qoUtKQ0Gozllb71fnCDEh3wPcmqnFHO+pI69qnEuOQLZ4I7KSr2yzwVT8vJ8OA xJSk4q3okXMg73w8H+kQdsxhCWFeCPJQ7C3OMUeBsuaQxehGbMsleDdfkVbCTRgplCIC 1jQ/rMgU0niQRsGTa7pp5N63euywt0qSRcLXoeE+iL1fk/40ixa0D5NdOOrRe1iMY9LQ wrREI1bpPm32rzgi6B2psYDHryvmxuk/UWRZAzjI3eNHxtRDa9OZtw8WQ07Fjj/3KAsP fVz2MFArGhirt3SB8u6L6bqVlre/UkTaQy/jJe8xpLrbbbaZ3SwolXO+yxO0akxMKoPF Bneg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eNHn9oxC; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67si11249511pgc.256.2019.03.13.19.27.39; Wed, 13 Mar 2019 19:27:56 -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=@gmail.com header.s=20161025 header.b=eNHn9oxC; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726746AbfCNC07 (ORCPT + 99 others); Wed, 13 Mar 2019 22:26:59 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:37728 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726530AbfCNC06 (ORCPT ); Wed, 13 Mar 2019 22:26:58 -0400 Received: by mail-ot1-f68.google.com with SMTP id b3so3749284otp.4 for ; Wed, 13 Mar 2019 19:26:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZLfOoOWXZn/AMrTO7kHoHxaQuEeaJj4NN+VomR+w5X0=; b=eNHn9oxCEGbMqmfi7ln4r1vmYbjfDUMj3IkGEM2iIYVorlbb7AeiyAjnYJvlPMw8mu /DDd8/7wHlpmcKug0IIc70j+p4ZOoAYXUp5RKw5AOVzxPoE9IhdA0aSnHm4OYcRuqhaG c/0urWblwv+hbR7Q9L+BlwGbjQNkCiyupWCTM0Ye2Nk0u4HwYRhrUL9k16oaqJV54rk9 H0Hoqvhv0p4Qr0zAFX7YUEIx8m+ngey1cbTxlDP1YHZa3YOGyfmtVmVJy92XwExi+YZ9 ZFg1LK1GS6r1NhWYz1FBL6bh1UFRiku7iYmxqw+YaAHAzSFPBRqmQzgmdZTPOmTM6JRJ Duog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZLfOoOWXZn/AMrTO7kHoHxaQuEeaJj4NN+VomR+w5X0=; b=KjeT+YDS5tyOK0ZwItPNfT4pfy9eMbJUnWX2jg/I9Op9FvZOPw4fGKMo2l/0/sen5i 7Xb/B02qmEZzu5JGTl2LMpKQE5HreKFw8dEXI2GJsPHlDOFgG0xfolFIxMYqZ7yjQdX0 I8gvPkcPQz6lqMqzQ7J2XWSsKzWboSKZg2J9RGKW7VNwmCMclyZRWM5Bvl4llcRC9RRF Odx1AAjr2VN/1MfdJRq/EV7GEhZH+yNkAT7nldyeWN/3V7YM4aPoxrIKWIHfWVpPjG7m IHq1iJjBn7qIl1IkyL734s5v9f8OdWAfkzPP2FuSHKtcdI2nuJTI5Sd6ymxOKq2sBdk5 Ezew== X-Gm-Message-State: APjAAAV8fGeyFu8z2ynPd74g+HO9nddn6vOVeeQpB5D3tjb3DSXAoq0r kHKnqeOVuDzk4fJQoFc1/6blJ1cKawQNjenfjG4= X-Received: by 2002:a9d:5614:: with SMTP id e20mr28623885oti.348.1552530417971; Wed, 13 Mar 2019 19:26:57 -0700 (PDT) MIME-Version: 1.0 References: <20190313122403.248873-1-armax@google.com> <4789d739-d2b5-357b-b9d8-bfaf587d33fc@gmail.com> <4172ce05-8dfc-c956-6af0-47c8367c215e@denx.de> <87y35ipgkt.fsf@notabene.neil.brown.name> In-Reply-To: <87y35ipgkt.fsf@notabene.neil.brown.name> From: Chuanhong Guo Date: Thu, 14 Mar 2019 10:26:47 +0800 Message-ID: Subject: Re: [PATCH] spi: mediatek: Attempt to address style issues in spi-mt7621.c To: NeilBrown Cc: John Crispin , Stefan Roese , Matthias Brugger , Armando Miraglia , Armando Miraglia , Greg Kroah-Hartman , sankalpnegi2310@gmail.com, devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! On Thu, Mar 14, 2019 at 6:14 AM NeilBrown wrote: > > [...] > My only small concern is that this driver was backported to openwrt > (4.14 based) and then reverted > > https://github.com/openwrt/openwrt/commit/749a29f76ca780d8df70a5163d43bbdc6f13ba3f > > "This breaks some mt7621 devices." > > Possibly it was backported badly, or possibly there is a problem. Last time I backported the version with broken SPI modes so it got broken SPI CS1 support. There is one mt7621 router using SPI CS1 in OpenWrt and the backported driver broke it. It has been fixed by my two "drop broken spi modes" patches. > > John: do you have any more details of the problem other than what is in > the commit message? > > Thanks, > NeilBrown Regards, Chuanhong Guo