android_device_samsung_msm8.../consumerir
Christopher R. Palmer 5df5bd5278 consumerir: Dynamically grow an appropriately sized buffer
The IR pulse sequences are written to a local buffer to be
passed to the kernel.

Previously, we doubled the fixed size buffer (from 1K to 2K)
to work around a crash that was occurring for long sequences.

Another crash has been found when using Smart IR Remote and the
POWER function of the TX P42X10E remote by Panasonic (TV category).

Rather than double the size again and wait for another counter-
example, dynamically allocate the buffer and grow it as needed
to handle any IR sequence.

Change-Id: Id4fb799d8a5ad4242e04a68e6cc6436a14f4d2d0
2014-11-05 20:41:48 -05:00
..
Android.mk msm8974-common: Clean up Samsung device inheritance 2014-08-01 13:58:26 -07:00
consumerir.c consumerir: Dynamically grow an appropriately sized buffer 2014-11-05 20:41:48 -05:00