From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baruch Siach Subject: Re: [PATCH 2/3] Doc: spi: document the transfer_one spi_master callback Date: Fri, 24 Jan 2014 10:02:11 +0200 Message-ID: <20140124080211.GM12751@tarshish> References: <8b6ee8b5a08cd9fa9a94d16d2621e28b4f087098.1390544495.git.baruch@tkos.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Mark Brown , linux-spi To: Geert Uytterhoeven Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Hi Geert, On Fri, Jan 24, 2014 at 08:49:02AM +0100, Geert Uytterhoeven wrote: > On Fri, Jan 24, 2014 at 7:28 AM, Baruch Siach wrote: > > +++ b/Documentation/spi/spi-summary > > @@ -545,6 +545,16 @@ SPI MASTER METHODS > > spi_finalize_current_message() so the subsystem can issue the next > > transfer. This may sleep. > > > > + master->transfer_one(struct spi_master *master, struct spi_device *spi, > > + struct spi_transfer *transfer) > > + The subsystem calls the driver to transfer a single transfer while > > + queuing transfers that arrive in the meantime. When the driver is > > + finished with this message, it must call > > + spi_finalize_current_transfer() so the subsystem can issue the next > > + transfer. This may sleep. Note: transfer_one and transfer_one_message > > + are mutually exclusive; when both are set, transfer_one takes > > + precedence. > > + > > Can you please take into account > http://lkml.indiana.edu/hypermail/linux/kernel/1401.2/02465.html? Thanks for reviewing. I'll rebase on Mark's fix/core branch. baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch-NswTu9S1W3P6gbPvEgmw2w@public.gmane.org - tel: +972.2.679.5364, http://www.tkos.co.il - -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html