Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3209044imu; Fri, 18 Jan 2019 06:40:18 -0800 (PST) X-Google-Smtp-Source: ALg8bN7ghg4/1kPWqsi6pJy/AcbwUMnHgQU4z4vUwVp//XP8Go++QzPeZszVTtodS7PlS602uoIu X-Received: by 2002:a17:902:850c:: with SMTP id bj12mr19183621plb.46.1547822418733; Fri, 18 Jan 2019 06:40:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547822418; cv=none; d=google.com; s=arc-20160816; b=nmMLwICJxIBrJNemcFo+/gt3iCj0QdRy1WfArUojsdTP4YU4nLk+06rQViIwc9ZbB7 JNHROyMxD1h/RUnClvyCq4hnJEA++OIj3aePp8IOG+2d3WTUqVvwCW9ccMXGNpYuYKb2 1yDXo2rjw8GfikF1u+W88Z8y9ZFwVwwQ1ANULr2yXICwhG+ykl37NP5ySdbGwHNMmPBJ zMGvlxapIDTA/jerCkvmxsw68HscB7WovzYwjeDwB0CwetzCVB7b70gP7/WrN7ljWjaO Mxrb+bQhN+XEWeZZ0ChsUKoOnQzlTmzS4IW1XGkgmUkfvUTfbfp1N0BEifikFN3aQqPn PyFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=uuZD6AvKJ308ONQEYDRPWX9OWEXvcU/PibTDtwKe20k=; b=ijoTEybURD3SC/aBlP63DCUMJ6m3AoM2thl4khuMgS6YoP9gJ7YCCqPZvcFFblCk4x PNhjQ/70hipXxiXMHXbG1MDt9vXKT+eK7rb6ianc3HTC2Ml3l+178tbHHGdigln4naQi T9e6kmj6NLf7dWvNfIPjfjq062nf8d3whDxDECkxo6VOZalXgQK+VKD+201hGmvurDdC yK5Dex5oIk17VhAcqWd4Roje/byaVveKiE1JsQIM0BrvOwPX6XzM6qGiA0SRZ65ksVq7 KEKyJq3c2OEaQne7uaMJXUTUevQ1Im+oDJotLk39jTYaEkav53Znt6toz28L9G/2LTI+ H4tw== ARC-Authentication-Results: i=1; mx.google.com; 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 b63si4823621pfa.250.2019.01.18.06.39.58; Fri, 18 Jan 2019 06:40:18 -0800 (PST) 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; 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 S1727623AbfAROiu (ORCPT + 99 others); Fri, 18 Jan 2019 09:38:50 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:54112 "EHLO xavier.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727481AbfAROiu (ORCPT ); Fri, 18 Jan 2019 09:38:50 -0500 Received: from ramsan ([84.194.111.163]) by xavier.telenet-ops.be with bizsmtp id Rqen1z00F3XaVaC01qentf; Fri, 18 Jan 2019 15:38:47 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1gkVIF-0007kw-6y; Fri, 18 Jan 2019 15:38:47 +0100 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1gkUlz-0007bY-2x; Fri, 18 Jan 2019 15:05:27 +0100 From: Geert Uytterhoeven To: Arnd Bergmann , Greg Kroah-Hartman Cc: Nguyen An Hoan , linux-spi@vger.kernel.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 0/2] eeprom: at25: SPI transfer improvements Date: Fri, 18 Jan 2019 15:05:23 +0100 Message-Id: <20190118140525.29189-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This patch series contains two improvements for the AT25 SPI EEPROM driver, related to SPI transfers. Changes compared to v1: - Merge "off" and "offset" into a single variable instead of just killing the cast, as suggested by Arnd, - Add Acked-by, - Dropped "[PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA", as this is better implemented in the SPI controller driver (cfr. e.g. "[v2 PATCH 2/2] spi: sh-msiof: Use DMA if possible", https://lore.kernel.org/linux-renesas-soc/1547803771-9564-2-git-send-email-na-hoan@jinso.co.jp/) Tested on a Renesas Ebisu development board with R-Car E3 using MSIOF and a 25LC040 EEPROM. Thanks! Geert Uytterhoeven (2): eeprom: at25: Merge "off" and "offset" in at25_ee_write() eeprom: at25: Use spi_message_init_with_transfers() instead of open coding drivers/misc/eeprom/at25.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) -- 2.17.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds