]> git.baikalelectronics.ru Git - kernel.git/commit
SoC: SOF: ipc: Optimizations for tx message
authorMark Brown <broonie@kernel.org>
Fri, 28 Jan 2022 20:45:42 +0000 (20:45 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 28 Jan 2022 20:45:42 +0000 (20:45 +0000)
commitb87e8dfd33db49a7fc26f576cf17aa4d33b97ef0
tree203abc23d8908e0bc211bca7d1afcfccdd9d010d
parentdeb36ac08b94bc9f10826e5baa6294e2164adeaa
parent2700617bc856e9d03881dd8548146d41384812fc
SoC: SOF: ipc: Optimizations for tx message

Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:

The series will drop the internal use of 'header' parameter which is always
set to hdr->cmd.

The other simplification is to use the provided message directly as it is
guarantied to be valid throughout the message sending and we can save memory
by not allocating a temporary buffer, also saving on needles memcpy()
operations.