Re: [PATCH v2] regmap: spi: Set regmap max raw r/w from max_transfer_size

From: Mark Brown
Date: Wed Sep 15 2021 - 11:18:45 EST


On Mon, Sep 13, 2021 at 02:01:01PM +0100, Lucas Tanure wrote:
> Set regmap raw read/write from spi max_transfer_size
> so regmap_raw_read/write can split the access into chunks

This breaks the build:

/mnt/kernel/drivers/base/regmap/regmap-spi.c: In function 'regmap_get_spi_bus':
/mnt/kernel/drivers/base/regmap/regmap-spi.c:115:21: error: unused variable 'master' [-Werror=unused-variable]
struct spi_master *master = spi->master;
^~~~~~
cc1: all warnings being treated as errors

Attachment: signature.asc
Description: PGP signature