On Tue, Jan 11, 2011 at 11:19:08AM -0500, Mike Frysinger wrote:
> From: Sonic Zhang <[email protected]>
>
> If there is an error with setting up a transfer, we need to return
> immediately rather than trying to continue to process things. We
> already set up the error states for the caller at this point.
>
> Signed-off-by: Sonic Zhang <[email protected]>
> Signed-off-by: Mike Frysinger <[email protected]>
Applied, thanks.
g.
> ---
> drivers/spi/spi_bfin5xx.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/spi/spi_bfin5xx.c b/drivers/spi/spi_bfin5xx.c
> index e8d68b7..a284624 100644
> --- a/drivers/spi/spi_bfin5xx.c
> +++ b/drivers/spi/spi_bfin5xx.c
> @@ -653,6 +653,7 @@ static void bfin_spi_pump_transfers(unsigned long data)
> message->state = bfin_spi_next_transfer(drv_data);
> /* Schedule next transfer tasklet */
> tasklet_schedule(&drv_data->pump_transfers);
> + return;
> }
>
> if (transfer->tx_buf != NULL) {
> --
> 1.7.4.rc1
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general