Re: [PATCH v2 2/9] spi: dw-mid: clear BUSY flag fist and test other one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 02, 2015 at 08:15:59PM +0200, Andy Shevchenko wrote:
> The logic of DMA completion is broken now since test_and_clear_bit() never
> returns the other bit is set. It means condition are always false and we have
> spi_finalize_current_transfer() called per each DMA completion which is wrong.
> 
> The patch fixes logic by clearing BUSY bit first and then check for the other
> one.
> 
> Fixes: 30c8eb52cc4a (spi: dw-mid: split rx and tx callbacks when DMA)

The commit this is fixing is in v3.19 so this should go to stable but I
can't apply this against my fix/dw branch.  Can you generate a version
that can be applied there please?  We'll need to work out the merge
issues with the current code I gues...

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux