Re: [PATCH] drm/tinydrm: Allocate dummy SPI RX buffer if needed

2018-02-27 Thread Noralf Trønnes
Den 20.02.2018 00.21, skrev David Lechner: This adds a new feature to allocate a dummy RX buffer for SPI controllers that require an RX buffer even when not receiving. If an RX buffer is not supplied, the SPI controller will reallocate a new buffer on each transfer. On systems with limited memo

[PATCH] drm/tinydrm: Allocate dummy SPI RX buffer if needed

2018-02-19 Thread David Lechner
This adds a new feature to allocate a dummy RX buffer for SPI controllers that require an RX buffer even when not receiving. If an RX buffer is not supplied, the SPI controller will reallocate a new buffer on each transfer. On systems with limited memory (e.g. 64MB and CONFIG_SWAP=n), this realloc