Re: [PATCH 1/2] spi: spi-gpio: Add checks for the dt properties

2013-01-09 Thread Maxime Ripard
Hi Grant, On 27/12/2012 22:54, Maxime Ripard wrote: > The bindings assumed that the gpios properties were always there, which > made the NO_TX and NO_RX mode not usable from device tree. Add extra > checks to make sure that the driver can work if either MOSI or MISO is > not used. Can you give me

[PATCH v2 2/2] spi: bitbang: convert to using core message queue

2013-01-09 Thread Guennadi Liakhovetski
The SPI subsystem core now manages message queues internally. Remove the local message queue implementation from the spi-bitbang driver and migrate to the common one. Signed-off-by: Guennadi Liakhovetski --- v2: remove unrelated changes, partially dropping them and partially extracting them int

[PATCH v2 1/2] spi: bitbang: simplify pointer arithmetics

2013-01-09 Thread Guennadi Liakhovetski
Add a pointer variable to make spi_bitbang_start() look simpler. Signed-off-by: Guennadi Liakhovetski --- Hi Grant As requested by you in http://thread.gmane.org/gmane.linux.kernel.spi.devel/10065/focus=10114 I've split off this minor change - adding a "master" pointer and dropped other unrela

Re: [PATCH v2 2/2] spi: bitbang: convert to using core message queue

2013-01-09 Thread Guennadi Liakhovetski
On Wed, 9 Jan 2013, Guennadi Liakhovetski wrote: > The SPI subsystem core now manages message queues internally. Remove the > local message queue implementation from the spi-bitbang driver and > migrate to the common one. > > Signed-off-by: Guennadi Liakhovetski Argh... Actually I didn't intend

Re: [PATCH 3/3] spi: bitbang: convert to using core message queue

2013-01-09 Thread Guennadi Liakhovetski
Hi Linus On Tue, 8 Jan 2013, Linus Walleij wrote: > On Sat, May 26, 2012 at 1:29 AM, Grant Likely > wrote: > > On Mon, 21 May 2012 13:25:23 +0200 (CEST), Guennadi Liakhovetski > > wrote: > >> The SPI subsystem core now manages message queues internally. Remove the > >> local message queue imp

[PATCH 3/3] staging:iio: Use spi_sync_transfer()

2013-01-09 Thread Lars-Peter Clausen
Use the new spi_sync_transfer() helper function instead of open-coding it. Signed-off-by: Lars-Peter Clausen --- drivers/staging/iio/accel/kxsd9.c | 6 +--- drivers/staging/iio/accel/lis3l02dq_core.c | 18 ++-- drivers/staging/iio/accel/sca3000_core.c | 13 ++--- drivers/

[PATCH 2/3] iio: Use spi_sync_transfer()

2013-01-09 Thread Lars-Peter Clausen
Use the new spi_sync_transfer() helper function instead of open-coding it. Signed-off-by: Lars-Peter Clausen --- drivers/iio/dac/ad5360.c | 7 +-- drivers/iio/dac/ad5421.c | 7 +-- drivers/iio/dac/ad5504.c | 6 +- drivers/iio/dac/ad5686.c | 7 +-- driv

[PATCH 1/3] spi: Add helper functions for setting up transfers

2013-01-09 Thread Lars-Peter Clausen
Quite often the pattern used for setting up and transferring a synchronous SPI transaction looks very much like the following: struct spi_message msg; struct spi_transfer xfers[] = { ... }; spi_message_init(&msg); spi_message_add_tail(&xfers

Re: [PATCH 1/3] spi: Add helper functions for setting up transfers

2013-01-09 Thread Jonathan Cameron
On 01/09/2013 05:31 PM, Lars-Peter Clausen wrote: > Quite often the pattern used for setting up and transferring a synchronous SPI > transaction looks very much like the following: > > struct spi_message msg; > struct spi_transfer xfers[] = { > ... > }; > > s

Re: [PATCH 1/3] spi: Add helper functions for setting up transfers

2013-01-09 Thread Lars-Peter Clausen
On 01/09/2013 08:20 PM, Jonathan Cameron wrote: > On 01/09/2013 05:31 PM, Lars-Peter Clausen wrote: >> Quite often the pattern used for setting up and transferring a synchronous >> SPI >> transaction looks very much like the following: >> >> struct spi_message msg; >> struct spi_transfer

Re: [PATCH 1/3] spi: Add helper functions for setting up transfers

2013-01-09 Thread Jonathan Cameron
On 01/09/2013 08:56 PM, Lars-Peter Clausen wrote: > On 01/09/2013 08:20 PM, Jonathan Cameron wrote: >> On 01/09/2013 05:31 PM, Lars-Peter Clausen wrote: >>> Quite often the pattern used for setting up and transferring a synchronous >>> SPI >>> transaction looks very much like the following: >>> >>

RE: [PATCH] spi/s3c64xx: Complain if we fail to set a transfer speed

2013-01-09 Thread Kukjin Kim
Mark Brown wrote: > > Signed-off-by: Mark Brown Acked-by: Kukjin Kim > --- > drivers/spi/spi-s3c64xx.c |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index > ad93231..6495352 100644 > --- a/drivers/spi/spi-s3c64xx.c > +++ b

[PATCH v2] spi: s3c64xx: Use devm_clk_get() and devm_request_irq()

2013-01-09 Thread Jingoo Han
Use devm_clk_get() and devm_request_irq() rather than clk_get() and request_irq() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- Changes since v1: - modified the commit message drivers/spi/spi-s3c64xx.c | 41 +++-- 1 files changed, 15 inse

Les Irrésiskibles : Jusqu'à -400€ sur votre séjour !

2013-01-09 Thread Pierre et Vacances par Voyageez.com
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML Lien miroir : http://m10-fr.com/mc10_m/YT0yNiZiPTI5NDY2JmM9NDg5Nzg4JmQ9MjAxMy0wMS0xMCAwODowMDowMSZlPTEmaD0yOTQ2NCZmPTI5NDY2Jmc9Mjk0NjY= Lien de désinscription : http://m10-fr.com/mc10_unsub/YT0yNiZiPTI5NDY2JmM9NDg5Nzg4Jm

Soldes stocks limités jusqu'à -70%

2013-01-09 Thread LMDV
Document sans nom Pour visualiser la version en images, rendez-vous sur cette page : http://p5trc.emv2.com/HM?a=ENX7CqmVXCyi8SA9MKJUVJ_nGHxKLpUL0PcStGb5lw8W0bBhOG5mpqVsje_HhdA5HlEf   la maison de Valérie http://p5trc.emv2.com/HS?a=ENX7CqmVXCyi8SA9MKJUVJ_nGHxKLpUL1vcStGb5lw8W0bBhOG5mpqVsje_Hh