[PATCH 00/12] SPI GPIO improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Everyone:

This series contains a fix ("spi: Don't call spi_get_gpio_descs()
before device name is set) and improvements for SPI GPIO and driver I
made while looking at that code recently. Hopefully each patch is
self-explanatory.

Feedback is welcome!

Thanks,
Andrey Smirnov

Andrey Smirnov (12):
  spi: gpio: Drop unused spi_to_pdata()
  spi: gpio: Add local struct device pointer in spi_gpio_probe()
  spi: gpio: Add local struct spi_bitbang pointer in spi_gpio_probe()
  spi: gpio: Simplify SPI_MASTER_NO_TX check in spi_gpio_probe()
  spi: gpio: Drop unused pdata copy in struct spi_gpio
  spi: gpio: Don't request CS GPIO in DT use-case
  spi: Don't call spi_get_gpio_descs() before device name is set
  spi: gpio: Drop mflags argument from spi_gpio_request()
  spi: gpio: Drop unused pdev field in struct spi_gpio
  spi: gpio: Make sure spi_master_put() is called in every error path
  spi: bitbang: Introduce spi_bitbang_init()
  spi: gpio: Use devm_spi_register_master()

 drivers/spi/spi-bitbang.c       |  66 ++++++----
 drivers/spi/spi-gpio.c          | 226 ++++++++++++++------------------
 drivers/spi/spi.c               |  37 +++---
 include/linux/spi/spi_bitbang.h |   1 +
 4 files changed, 154 insertions(+), 176 deletions(-)

-- 
2.20.1




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux