On Mon, Dec 27, 2010 at 08:23:46PM +0900, Tomoya MORINAGA wrote:
> Signed-off-by: Tomoya MORINAGA <[email protected]>

Hi Tomoya,

This looks like a bug fix that should be applied now, but I cannot
apply it to mainline because it depends on the first patch in your
series which I'm not going to apply.  If you respin this patch to
apply without the first patch, then I can pick it up immediately.

g.

> ---
>  drivers/spi/spi_topcliff_pch.c |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/spi/spi_topcliff_pch.c b/drivers/spi/spi_topcliff_pch.c
> index 18e077b..a796eaf 100644
> --- a/drivers/spi/spi_topcliff_pch.c
> +++ b/drivers/spi/spi_topcliff_pch.c
> @@ -1166,21 +1166,21 @@ static void pch_spi_remove(struct pci_dev *pdev)
>               spin_unlock(&board_dat->data[i]->lock);
>       }
>  
> -     /* Free resources allocated for PCH SPI */
> -     pch_spi_free_resources(board_dat);
> -
>       /* Unregister SPI master */
>       for (i = 0; i < board_dat->num; i++)
>               spi_unregister_master(board_dat->data[i]->master);
>  
> -     /* free memory for private data */
> -     kfree(board_dat);
> +     /* Free resources allocated for PCH SPI */
> +     pch_spi_free_resources(board_dat);
>  
>       pci_set_drvdata(pdev, NULL);
>  
>       /* disable PCI device */
>       pci_disable_device(pdev);
>  
> +     /* free memory for private data */
> +     kfree(board_dat);
> +
>       dev_dbg(&pdev->dev, "%s invoked pci_disable_device\n", __func__);
>  }
>  
> -- 
> 1.6.0.6
> 

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to