Re: [PATCH] spi: fsl-dspi: Fix getting correct address for master

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

 



On Sun, Mar 02, 2014 at 11:09:41PM +0800, Axel Lin wrote:
> 2014-02-14 12:49 GMT+08:00 Axel Lin <axel.lin@xxxxxxxxxx>:
> > Current code set platform drvdata to dspi. However, the code in dspi_suspend()
> > and dspi_resume() assumes the drvdata is the address of master.
> > Fix it by setting platform drvdata to master.

> Hi Mark,
> I guess this one is for 3.14.

> In dspi_probe(),
> current code has:
>         platform_set_drvdata(pdev, dspi);

> However, in dspi_suspend() and dspi_resume(),
> current code has:
>         struct spi_master *master = dev_get_drvdata(dev);

The patch doesn't seem to have been appleid at all?

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