OSDN Git Service

AVCTP: Don't allocate memory for every key pressed
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 10 May 2013 11:02:01 +0000 (14:02 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 10 May 2013 11:24:13 +0000 (14:24 +0300)
commit10daf196dd514559eacd3e54188b2c77916c3a23
tree3c0ec60c7de5d9a569afcd8f166f285658758768
parent058e9dc04c2cd7a29d5c4a5cc3d21169a52f142d
AVCTP: Don't allocate memory for every key pressed

The timer field can be used to detect if the key is currectly active
instead of relying on a pointer that needs to be allocated for every
single key press.
profiles/audio/avctp.c