Re: [PATCH] spi/pxa2xx: Clear cur_chip pointer before starting next message

2014-12-23 Thread Mark Brown
On Tue, Dec 23, 2014 at 03:49:17PM +0200, Mika Westerberg wrote: > Mark, any comments on this? Please don't send contentless pings, they just add more e-mail. Resend if you think something has been lost. signature.asc Description: Digital signature

Re: [PATCH] spi/pxa2xx: Clear cur_chip pointer before starting next message

2014-12-23 Thread Mika Westerberg
On Mon, Dec 01, 2014 at 11:12:46AM +0200, Mika Westerberg wrote: > Once the current message is finished, the driver notifies SPI core about > this by calling spi_finalize_current_message(). This function queues next > message to be transferred. If there are more messages in the queue, it is >

Re: [PATCH] spi/pxa2xx: Clear cur_chip pointer before starting next message

2014-12-23 Thread Mika Westerberg
On Mon, Dec 01, 2014 at 11:12:46AM +0200, Mika Westerberg wrote: Once the current message is finished, the driver notifies SPI core about this by calling spi_finalize_current_message(). This function queues next message to be transferred. If there are more messages in the queue, it is possible

Re: [PATCH] spi/pxa2xx: Clear cur_chip pointer before starting next message

2014-12-23 Thread Mark Brown
On Tue, Dec 23, 2014 at 03:49:17PM +0200, Mika Westerberg wrote: Mark, any comments on this? Please don't send contentless pings, they just add more e-mail. Resend if you think something has been lost. signature.asc Description: Digital signature

Re: [PATCH] spi/pxa2xx: Clear cur_chip pointer before starting next message

2014-12-05 Thread Robert Jarzmik
Mika Westerberg writes: > On Thu, Dec 04, 2014 at 10:01:06PM +0100, Robert Jarzmik wrote: >> So with your change, we have : >> drv_data->cur_chip = NULL; >> spi_finalize_current_message(drv_data->master); >> >> In that case, if spi_finalize_current_message() queues another message,

Re: [PATCH] spi/pxa2xx: Clear cur_chip pointer before starting next message

2014-12-05 Thread Mika Westerberg
On Thu, Dec 04, 2014 at 10:01:06PM +0100, Robert Jarzmik wrote: > Mika Westerberg writes: > > > Once the current message is finished, the driver notifies SPI core about > > this by calling spi_finalize_current_message(). This function queues next > > message to be transferred. If there are more

Re: [PATCH] spi/pxa2xx: Clear cur_chip pointer before starting next message

2014-12-05 Thread Mika Westerberg
On Thu, Dec 04, 2014 at 10:01:06PM +0100, Robert Jarzmik wrote: Mika Westerberg mika.westerb...@linux.intel.com writes: Once the current message is finished, the driver notifies SPI core about this by calling spi_finalize_current_message(). This function queues next message to be

Re: [PATCH] spi/pxa2xx: Clear cur_chip pointer before starting next message

2014-12-05 Thread Robert Jarzmik
Mika Westerberg mika.westerb...@linux.intel.com writes: On Thu, Dec 04, 2014 at 10:01:06PM +0100, Robert Jarzmik wrote: So with your change, we have : drv_data-cur_chip = NULL; spi_finalize_current_message(drv_data-master); In that case, if spi_finalize_current_message() queues

Re: [PATCH] spi/pxa2xx: Clear cur_chip pointer before starting next message

2014-12-04 Thread Robert Jarzmik
Mika Westerberg writes: > Once the current message is finished, the driver notifies SPI core about > this by calling spi_finalize_current_message(). This function queues next > message to be transferred. If there are more messages in the queue, it is > possible that the driver is asked to

Re: [PATCH] spi/pxa2xx: Clear cur_chip pointer before starting next message

2014-12-04 Thread Robert Jarzmik
Mika Westerberg mika.westerb...@linux.intel.com writes: Once the current message is finished, the driver notifies SPI core about this by calling spi_finalize_current_message(). This function queues next message to be transferred. If there are more messages in the queue, it is possible that

[PATCH] spi/pxa2xx: Clear cur_chip pointer before starting next message

2014-12-01 Thread Mika Westerberg
Once the current message is finished, the driver notifies SPI core about this by calling spi_finalize_current_message(). This function queues next message to be transferred. If there are more messages in the queue, it is possible that the driver is asked to transfer the next message at this point.

[PATCH] spi/pxa2xx: Clear cur_chip pointer before starting next message

2014-12-01 Thread Mika Westerberg
Once the current message is finished, the driver notifies SPI core about this by calling spi_finalize_current_message(). This function queues next message to be transferred. If there are more messages in the queue, it is possible that the driver is asked to transfer the next message at this point.