Re: [RFC/PATCH 1/3] driver: spi: Modify core to compute the messagelength

From: Mark Brown
Date: Mon Jul 08 2013 - 12:29:21 EST


On Mon, Jul 08, 2013 at 07:12:58PM +0530, Sourav Poddar wrote:
> Make spi core calculate the message length while
> populating the other transfer parameters. This will
> be useful in cases where controller driver need to configure its
> framelength field without iterating through the linklist again in the
> driver controller.

This seems fine but I'm going to hold off on applying it until it's
reqired since it'll bloat the structure a little and it's a bit unusual
to need it. We should do an audit in case some drivers do need this
though...

Attachment: signature.asc
Description: Digital signature