[GIT PULL] Disintegrate UAPI for spi

2012-10-13 Thread David Howells
Hi Linus, Can you merge my spi disintegration patch please? This is to complete part of the Userspace API (UAPI) disintegration for which the preparatory patches were pulled recently. After these patches, userspace headers will be segregated into: include/uapi/linux/.../foo.h for the

[PATCH 1/2] spi: mxs: Assign message status after transfer finished

2012-10-13 Thread Marek Vasut
In the current code implementing the MXS SPI driver, every transferred message had assigned status = 0, which is not correct. Properly assign status returned from the I/O functions. Signed-off-by: Marek Vasut Cc: Chris Ball Cc: Fabio Estevam Cc: Grant Likely Cc: Mark Brown Cc: Shawn Guo ---

[PATCH 2/2] spi: mxs: Terminate DMA in case of DMA timeout

2012-10-13 Thread Marek Vasut
In case the SPI DMA times out, the DMA might still be in some kind of inconsistent state. Issue dmaengine_terminate_all() on the particular channel to kill off all operations before continuing. Signed-off-by: Marek Vasut Cc: Chris Ball Cc: Fabio Estevam Cc: Grant Likely Cc: Mark Brown Cc: Sha

Re: [PATCH] spi/pl022: Activate resourses before deactivate them in suspend

2012-10-13 Thread Mark Brown
On Fri, Oct 12, 2012 at 04:42:53PM +0200, Ulf Hansson wrote: > Hi Mark, > > Just a kind remember on this. Do you see any problem merging this? > > Kind regards > Ulf Hansson > > On 5 October 2012 09:43, Ulf Hansson wrote: Don't top post and don't send contentless nags less than a week after yo