Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-12-21 | gpio: max7301: fix driver for use with CONFIG_VMAP_STACK | Christophe Leroy | 1 | -9/+3 | |
spi_read() and spi_write() require DMA-safe memory. When CONFIG_VMAP_STACK is selected, those functions cannot be used with buffers on stack. This patch replaces calls to spi_read() and spi_write() by spi_write_then_read() which doesn't require DMA-safe buffers. Fixes: 0c36ec314735 ("gpio: gpio driver for max7301 SPI GPIO expander") Cc: <[email protected]> Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Linus Walleij <[email protected]> | |||||
2015-10-28 | spi: Drop owner assignment from spi_drivers | Andrew F. Davis | 1 | -1/+0 | |
An spi_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Andrew F. Davis <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Signed-off-by: Mark Brown <[email protected]> | |||||
2013-08-23 | gpio: max7301: Reverting "Do not force SPI speed when using OF Platform" | Christophe Leroy | 1 | -2/+1 | |
This patch reverts commit 047b93a35961f7a6561e6f5dcb040738f822b892 which breaks MAX7301 GPIO driver because that commit was dependant on a rejected patch that was implementing selection of SPI speed from the Device Tree. Signed-off-by: Christophe Leroy <[email protected]> Acked-by: Roland Stigge <[email protected]> Signed-off-by: Linus Walleij <[email protected]> | |||||
2013-03-27 | MAX7301 GPIO: Do not force SPI speed when using OF Platform | Christophe Leroy | 1 | -1/+2 | |
The bit_per_word can be set in the OF Device tree, so no need to force it as with the platform_data when using OF Platform Signed-off-by: Patrick Vasseur <[email protected]> Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Linus Walleij <[email protected]> | |||||
2013-03-27 | gpio: max7301: use devm_kzalloc() | Jingoo Han | 1 | -3/+1 | |
Use devm_kzalloc() to make cleanup paths simpler. Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Linus Walleij <[email protected]> | |||||
2012-11-28 | gpio: remove use of __devexit | Bill Pemberton | 1 | -1/+1 | |
CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed. Signed-off-by: Bill Pemberton <[email protected]> Cc: Grant Likely <[email protected]> Acked-by: Linus Walleij <[email protected]> Cc: Peter Tyser <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> | |||||
2012-11-28 | gpio: remove use of __devinit | Bill Pemberton | 1 | -1/+1 | |
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <[email protected]> Cc: Grant Likely <[email protected]> Cc: Peter Tyser <[email protected]> Cc: Santosh Shilimkar <[email protected]> Cc: Kevin Hilman <[email protected]> Acked-by: Linus Walleij <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> | |||||
2012-11-28 | gpio: remove use of __devexit_p | Bill Pemberton | 1 | -1/+1 | |
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton <[email protected]> Cc: Grant Likely <[email protected]> Cc: Peter Tyser <[email protected]> Acked-by: Linus Walleij <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> | |||||
2011-06-06 | gpio: reorganize drivers | Grant Likely | 1 | -0/+116 | |
Sort the gpio makefile and enforce the naming convention gpio-*.c for gpio drivers. v2: cleaned up filenames in Kconfig and comment blocks v3: fixup use of BASIC_MMIO to GENERIC_GPIO for mxc Signed-off-by: Grant Likely <[email protected]> |