Re: [PATCH] spi/mxs: Fix device remove function

2012-08-24 Thread Guenter Roeck
On Sat, Aug 25, 2012 at 12:07:37AM +0200, Marek Vasut wrote: [ ... ] > > > On a side note, at least some of the spi bitbang drivers have a similar > > problem. Unfortunately, I can not fix it right now because I have no means > > to test it, and have no idea what exactly is _supposed_ to happen.

Re: [PATCH] spi/mxs: Fix device remove function

2012-08-24 Thread Marek Vasut
Dear Guenter Roeck, > On Fri, Aug 24, 2012 at 10:10:12PM +0200, Marek Vasut wrote: > > Dear Guenter Roeck, > > > > > The call sequence > > > spi_alloc_master/spi_register_master/spi_unregister_master is complete; > > > it reduces the device reference count to zero, which results in device > > > m

Re: [PATCH] spi/mxs: Fix device remove function

2012-08-24 Thread Guenter Roeck
On Fri, Aug 24, 2012 at 10:10:12PM +0200, Marek Vasut wrote: > Dear Guenter Roeck, > > > The call sequence > > spi_alloc_master/spi_register_master/spi_unregister_master is complete; it > > reduces the device reference count to zero, which results in device memory > > being freed. The remove funct

Re: [PATCH] spi/mxs: Fix device remove function

2012-08-24 Thread Marek Vasut
Dear Guenter Roeck, > The call sequence > spi_alloc_master/spi_register_master/spi_unregister_master is complete; it > reduces the device reference count to zero, which results in device memory > being freed. The remove function accesses the freed memory after the call > to spi_unregister_master()

[PATCH] spi/mxs: Fix device remove function

2012-08-24 Thread Guenter Roeck
The call sequence spi_alloc_master/spi_register_master/spi_unregister_master is complete; it reduces the device reference count to zero, which results in device memory being freed. The remove function accesses the freed memory after the call to spi_unregister_master(), _and_ it calls spi_master_put

Re: [PATCH 1/3] spi/stmp: Fix device remove function

2012-08-24 Thread Guenter Roeck
On Fri, Aug 24, 2012 at 10:47:08AM +0200, Wolfram Sang wrote: > On Thu, Aug 23, 2012 at 08:08:47PM -0700, Guenter Roeck wrote: > > The call sequence spi_alloc_master/spi_register_master/spi_unregister_master > > is complete; it reduces the device reference count to zero, which results in > > device

Re: SLAVE Side SPI kernel driver development

2012-08-24 Thread Ned Forrester
On 08/24/2012 11:38 AM, Marek Vasut wrote: > Dear Fabio Estevam, > >> On Fri, Aug 24, 2012 at 11:57 AM, Bastelli Carlo (yahoo) > > CCing SPI list > >> wrote: >>> Hello, I'm Carlo, I have a difficult task at work, my boss asked me to >>> develop >>> >>> a driver SPI slave side on embedded ARM p

Re: SLAVE Side SPI kernel driver development

2012-08-24 Thread Marek Vasut
Dear Fabio Estevam, > On Fri, Aug 24, 2012 at 11:57 AM, Bastelli Carlo (yahoo) CCing SPI list > wrote: > > Hello, I'm Carlo, I have a difficult task at work, my boss asked me to > > develop > > > > a driver SPI slave side on embedded ARM processor running Linux. > > > > Precisely linux occur

Ваша красота ослепит мужчин!

2012-08-24 Thread Magic Glance
Французское средство для роста ресниц Magic Glance Intensive - это инновационное средство для роста ресниц. Французское качество и натуральные компоненты увеличивают объем ресниц на 200%. Удобная доставка и оплата делают покупку простой и легкой. Magic Glance Intensive – это новая революционная

Re: [PATCH 2/2] ARM: mxs: Update DENX M28 machine and dts file

2012-08-24 Thread Shawn Guo
On Fri, Aug 24, 2012 at 05:25:42AM +0200, Marek Vasut wrote: > Update the mach-mxs machine by removing the enet_clkout(). The new > revision of the board doesn't need that. Also, update the DTS file > with all the new drivers pulled in the mainline recently, that is, > SPI, LRADC, USB. Also, remove

Re: [PATCH 1/2] ARM: mx28: Add SPI pinmux into imx28.dtsi

2012-08-24 Thread Shawn Guo
On Fri, Aug 24, 2012 at 05:25:41AM +0200, Marek Vasut wrote: > Add this SSP pin multiplexing configuration into the imx28.dtsi file. > This covers pinmux for all four SSP ports available on the i.MX28. > > Signed-off-by: Marek Vasut > Cc: Chris Ball > Cc: Fabio Estevam > Cc: Mark Brown > Cc: S