Re: [spi-devel-general] Protocol driver probe function never invoked

2007-07-26 Thread llandre
> On Tuesday 24 July 2007, David Brownell wrote: >> I want to be sure I understand this correctly. You're saying that >> the call to spi_setup() inside of spi_new_device() failed silently? No, I did not make myself clear. I was talking about this code in spi_imx.c: /* SPI datarate */

Re: [spi-devel-general] Protocol driver probe function never invoked

2007-07-24 Thread David Brownell
On Tuesday 24 July 2007, David Brownell wrote: > I want to be sure I understand this correctly.  You're saying that > the call to spi_setup() inside of spi_new_device() failed silently? > And thus the scan_boardinfo() failed? > > If so, I'm thinking the following patch would help ... right? Helps

Re: [spi-devel-general] Protocol driver probe function never invoked

2007-07-24 Thread David Brownell
On Monday 23 July 2007, llandre wrote: > The probe function is not invoked because the controller does not allow > to reach the max_speed_hz. > I did not realize this before because, even if the debug messages were > enabled, I did not see any warning message about this. I want to be sure I unde

Re: [spi-devel-general] Protocol driver probe function never invoked

2007-07-23 Thread llandre
The probe function is not invoked because the controller does not allow to reach the max_speed_hz. I did not realize this before because, even if the debug messages were enabled, I did not see any warning message about this. -- llandre DAVE Electronics System House - R&D Department web: http

[spi-devel-general] Protocol driver probe function never invoked

2007-07-23 Thread llandre
Hi all, I'm working with kernel 2.6.21.3 on Freescale iMXL-based platform. I have to write a SPI protocol driver for Quantum QT510 touch controller. As starting point for board-init code I used the driver released by Pavel Pisa: http://rtime.felk.cvut.cz/repos/ppisa-linux-devel/kernel-patches/cur