[PATCH 1/3] spi: core: add max_msg_size to spi_master

Heiner Kallweit hkallweit1 at gmail.com
Mon Nov 30 12:15:43 PST 2015


Am 30.11.2015 um 17:42 schrieb Mark Brown:
> On Fri, Nov 27, 2015 at 08:26:52PM +0100, Heiner Kallweit wrote:
>> Am 23.11.2015 um 12:38 schrieb Mark Brown:
> 
>>> No, for the clients so they aren't peering at the struct.
> 
>> Sure, do you think of a simple getter like this or a more complex thing?
> 
>> size_t spi_get_max_msg_size(struct spi_master *master)
>> {
>> 	return master->max_msg_size;
>> }
> 
> That's fine, the point is to allow it to get complicated later rather
> than that we have anything else to put in there right now.
> 
OK, then I'll submit an updated version of the patch.




More information about the linux-mtd mailing list