[PATCH v4 0/2] media: rc: ir-spi: allocate buffer dynamically

Cosmin Tanislav posted 2 patches 4 months ago
There is a newer version of this series
drivers/media/rc/ir-spi.c | 39 +++++++++++++++++++++++++--------------
1 file changed, 25 insertions(+), 14 deletions(-)
[PATCH v4 0/2] media: rc: ir-spi: allocate buffer dynamically
Posted by Cosmin Tanislav 4 months ago
Replace the static transmit buffer with a dynamically allocated one,
removing the limit imposed on the number of pulses to transmit.

Add a check to constrain the carrier frequency inside
ir_spi_set_tx_carrier().

V4:
 * add separate patch to constrain the carrier frequency

V3:
 * move the allocation to be done per-TX operation

V2:
 * use devm_krealloc_array

Cosmin Tanislav (2):
  media: rc: ir-spi: allocate buffer dynamically
  media: rc: ir-spi: constrain carrier frequency

 drivers/media/rc/ir-spi.c | 39 +++++++++++++++++++++++++--------------
 1 file changed, 25 insertions(+), 14 deletions(-)

-- 
2.49.0