Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2226881yba; Thu, 25 Apr 2019 12:46:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOhEo47BdKmcqhP+g+CY9TKM/gmsyQ3heZkFK69MjhsMGvJk1dxxNt8dHKqeREgE4A2eNw X-Received: by 2002:a62:1795:: with SMTP id 143mr8909546pfx.104.1556221583084; Thu, 25 Apr 2019 12:46:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556221583; cv=none; d=google.com; s=arc-20160816; b=0jMmLb7UliyP11btX8k1206UCrivuW7/JDZD8am++xzDU+aM6lRa7TG3MbREFffQ5g A+Bzq5mWNMksXJ4d56cLUXIXQ8lPlUm4r3srGj8X+GzO8ywKtncW+QsEQ49/VoOLfC7y fmbQIVzEcKbt+AQijngfFj2Av3aNCESCytZSGBmfkQaoWz4e7zMO+Si9O0YvbD0X/ZK+ 580VigVv77aUbwiqZbUepsmiy++GvHCQFQqej0DBIZjyHqhlrHRjgsKOxkjzs7uR1AxO 11B4451XmbA3mXxJsh+zpCEkI/4LukrzrYQJuWi2/aXJwI+QdIxodRqesSmvYds7yMll YdNA== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SKqbkuFHDiEVpfhN7ZKEeM7IdkM/FyDTNXaUOxCIIsg=; b=oijvFCQqEanFEZLZyOztbTxv9ZvFoVZfaqeBf+nlNVPcWp1PFSpQxjLRemqFKfXY5q 8pJ0hXeQBCtdBzAejaOUoBY2TusDGLHnUD3wBKcKLjTOw5QN4qhKS2z9Y9n91dN6wueW ouVt0Kyvo4svgqPP+CKFgBSK4mYixlhkUmBECoMDdGkPSokls3p/LPDzEm2GKVjLi5Ih 1B0uEEDb+KJyB2e9GzZr6zGmHsRGZ++U8b5WnYKfnZS/N/mKK89wutSSl91rPrgxV08/ 6C5fEB/jDCFefCwtJ5CxFO4zx0qZZHxogudRDhAF66mK8hb01LuLkgcNyqycf+cTqwrr Vl7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wWjqPpiN; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n12si21447895pgm.191.2019.04.25.12.46.07; Thu, 25 Apr 2019 12:46:23 -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=@kernel.org header.s=default header.b=wWjqPpiN; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729162AbfDYToy (ORCPT + 99 others); Thu, 25 Apr 2019 15:44:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:38600 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726206AbfDYTox (ORCPT ); Thu, 25 Apr 2019 15:44:53 -0400 Received: from localhost (62-193-50-229.as16211.net [62.193.50.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 19250205ED; Thu, 25 Apr 2019 19:44:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556221493; bh=+WbavMlUKYGr1ZDi1CRg0fUacKJqI5fSp3MW8bgjmtk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wWjqPpiNpc/JRSMEIGJRruva0t/q03uMvb1NujGEDZM2gjjeS+wwLvWgxJpKVmsf1 Db8vcghQqpdnLIcISnVJTfyeCihKRK+5IWtvnVjyxt8SbL98sFwMIhmO23cDeZSaUD RPavxocu7vnpbjT6fwG14PPsovBfPDKA6F9kZsuw= Date: Thu, 25 Apr 2019 21:44:51 +0200 From: Greg Kroah-Hartman To: Boris Brezillon Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, Mark Brown , linux-spi@vger.kernel.org, David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , Miquel Raynal , Vignesh Raghavendra , linux-mtd@lists.infradead.org, Geert Uytterhoeven Subject: Re: [PATCH] eeprom: at25: Convert the driver to the spi-mem interface Message-ID: <20190425194451.GA14552@kroah.com> References: <20190330141637.22632-1-boris.brezillon@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190330141637.22632-1-boris.brezillon@collabora.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 30, 2019 at 03:16:37PM +0100, Boris Brezillon wrote: > The AT25 protocol fits pretty well in the spi-mem model. Convert the > at25 spi driver to a spi-mem driver and use the dirmap API instead of > forging SPI messages manually. > This makes the driver compatible with spi-mem-only controllers > (controllers implementing only the spi_mem ops). > > Cc: Geert Uytterhoeven > Signed-off-by: Boris Brezillon > --- > drivers/misc/eeprom/at25.c | 282 +++++++++++++++++++++++-------------- > 1 file changed, 176 insertions(+), 106 deletions(-) Will there be a new version of this to fix up the problems that 0-day found in it? thanks, greg k-h