.p;
@@
*free_irq@p(...)
Signed-off-by: Lars-Peter Clausen
---
drivers/spi/spi-topcliff-pch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/spi-topcliff-pch.c b/drivers/spi/spi-topcliff-pch.c
index 35f60bd..963e0f3 100644
--- a/drivers/spi/spi-topcliff-pch.c
+++ b
On 04/12/2013 04:16 PM, Martin Fuzzey wrote:
> Hi Maxime,
>
> On 12/04/13 15:30, Maxime Ripard wrote:
>> I submitted a similar patch quite some time ago [1], and at the time, this
>> patch was found inadequate, and we decided to add the compatible of the
>> particular device that we drive through
On 01/10/2013 09:53 AM, Julia Lawall wrote:
>> +@r1@
>> +identifier fn;
>> +identifier xfers;
>> +@@
>> +fn(...)
>> +{
>> +...
>> +(
>> +struct spi_transfer xfers[...];
>> +|
>> +struct spi_transfer xfers[];
>> +)
>> +...
>> +}
>
> Can it happen that there would be more than one sp
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:
>>
>> struc
pt which can detect such sequences as
described above and transform them automatically to use the new helper
functions.
Signed-off-by: Lars-Peter Clausen
---
I'm not entirely happy with names of the two new functions and I'm open for
better suggestions.
---
include/linux/spi/spi.h
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
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
This patch allows to specify that a SPI device is connected in 3-wire mode via
device tree.
Signed-off-by: Lars-Peter Clausen
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/spi/spi-bus.txt | 2 ++
drivers/spi/spi.c | 2 ++
2 files changed, 4
On 12/04/2012 07:27 AM, Axel Lin wrote:
> The logic of setting SPI_XCOMM_SETTINGS_CPHA bit is reversed.
>
> Signed-off-by: Axel Lin
> ---
> Hi Lars,
> The logic of setting SPI_XCOMM_SETTINGS_CPHA bit looks wrong to me.
> Can you check if this patch works?
>
> Thanks,
> Axel
Hi Axel,
Thanks for
This patch adds support for the I2C-SPI bridge which can be found on the Analog
Devices AD-FMCOMMS1-EBZ board.
Signed-off-by: Lars-Peter Clausen
---
Just a resend of the patch to Mark as he kindly takes care of the SPI subsystem
while Grant is busy moving.
---
drivers/spi/Kconfig |7
This patch allows to specify that a SPI device is connected in 3-wire mode via
the device tree.
Signed-off-by: Lars-Peter Clausen
---
Documentation/devicetree/bindings/spi/spi-bus.txt |2 ++
drivers/spi/spi.c |2 ++
2 files changed, 4 insertions(+)
diff
On 05/26/2012 01:07 AM, Grant Likely wrote:
> On Mon, 21 May 2012 18:25:38 +0200, Lars-Peter Clausen
> wrote:
>> This patch adds support for the I2C-SPI bridge which can be found on the
>> Analog
>> Devices AD-FMCOMMS1-EBZ board.
>>
>> Signed-off-by: Lars
This patch adds support for the I2C-SPI bridge which can be found on the Analog
Devices AD-FMCOMMS1-EBZ board.
Signed-off-by: Lars-Peter Clausen
---
drivers/spi/Kconfig |7 ++
drivers/spi/Makefile|1 +
drivers/spi/spi-xcomm.c | 276
On 11/24/2011 01:13 AM, Ben Dooks wrote:
> On Wed, Nov 16, 2011 at 10:12:54AM -0700, Grant Likely wrote:
>> On Wed, Nov 16, 2011 at 2:13 AM, Lars-Peter Clausen wrote:
>>> This patch introduces the module_spi_driver macro which is a convenience
>>> macro
>>&g
Use the newly introduced module_spi_driver macro for registering SPI drivers.
This allows us to remove a few lines of boilerplate code.
Signed-off-by: Lars-Peter Clausen
---
drivers/staging/iio/accel/adis16201_core.c | 13 +
drivers/staging/iio/accel/adis16203_core.c | 13
Use the newly introduced module_i2c_driver macro for registering I2C drivers.
This allows us to remove a few lines of boilerplate code.
Signed-off-by: Lars-Peter Clausen
---
drivers/staging/iio/adc/ad7291.c| 14 +-
drivers/staging/iio/adc/ad799x_core.c
candidates.
It probably makes sense to merge the first three patches together. The last two
can probably, since this is not urgent, wait until the first three have reached
mainline.
- Lars
Lars-Peter Clausen (5):
drivercore: Generalize module_platform_driver
I2C: Add helper macro for i2c_driver
a few lines of
boilerplate code per SPI driver.
Signed-off-by: Lars-Peter Clausen
---
include/linux/spi/spi.h | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h
index bb4f5fb..176fce9 100644
--- a/include/linux
a few lines of
boilerplate code per I2C driver.
Signed-off-by: Lars-Peter Clausen
---
include/linux/i2c.h | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index a81bf6d..7e92854 100644
--- a/include/linux/i2c.h
+++ b
module_platform_driver macro.
Signed-off-by: Lars-Peter Clausen
---
include/linux/init.h| 21 +
include/linux/platform_device.h | 12 ++--
2 files changed, 23 insertions(+), 10 deletions(-)
diff --git a/include/linux/init.h b/include/linux/init.h
index 9146f39
20 matches
Mail list logo