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