Re: [BUG] spi: spi-fsl-dspi: -EIO reading data on ColdFire

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

 



Hi Esben,
On Sat, Aug 18, 2018 at 09:40:56AM +0200, Esben Haabendal wrote:
> Angelo Dureghello <angelo@xxxxxxxx> writes:
> 
> > Hi Esben,
> >
> > your commit 
> >
> > commit dadcf4abd60ba6401b592c329a19719a6e1dd444
> > Author: Esben Haabendal <eha@xxxxxxxx>
> > Date:   Wed Jun 20 09:34:35 2018 +0200
> >
> >     spi: spi-fsl-dspi: Support 4 to 16 bits per word transfers
> >
> > seems have broken data read on ColdFire.
> >
> > [    8.450000] m25p80 spi0.1: error -5 reading 9f
> > [    8.450000] m25p80: probe of spi0.1 failed with error -5
> > [    8.500000] Freeing unused kernel memory: 320K
> > [    8.500000] This architecture does not have kernel memory protection.
> >
> > I'll try now my best to find and fix the issue for mcf5441x, btw,
> > if any idea where the issue could be, welcome.
> 
> Hi Angelo
> 
> Sorry about.  But you seem to have fixed it before I even got to read
> your mail :)
>
No problem, this can be tested only on my stmark2 ColdFire board.
 
> Is it working fine with your fix to reset tx_cmd for each fifo_write?
>
Yes, it works fine as before now. Reset was done before using the
dspi_pushr variable inside dspi_eoq_write.
 
> /Esben

Regards,
Angelo Dureghello



[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